Why my cron job is excuted only once on local?

|
Denno_IT 2022-09-02 14:18:34
laravel_discuss-136567.jpg

Denno_IT 2022-09-02 14:18:57
You can see the return have all the values.. But now sending it to the dB that is where the error comes from
Yousef Dhrooj 2022-09-02 14:27:49
I want build app which users can send messages between them , what i should to use for that ?
Web Developer 2022-09-02 14:42:27
Livewire or socket.io
dr_Abdullah_AlKhalifa 2022-09-02 14:50:35
Yousef Dhrooj 2022-09-02 14:27:49
I want build app which users can send messages between them , what i should to use for that ?

Pusher
Perfect for laravel
And the free tier is very generous
About 200k messages per day

capYousef 2022-09-02 14:51:07
How do I create a progress bar that show me the files uploading progress to the server
Web Developer 2022-09-02 14:51:17
dr_Abdullah_AlKhalifa 2022-09-02 14:50:35
Pusher
Perfect for laravel
And the free tier is very generous
About 200k messages per day

With real time???

Web Developer 2022-09-02 14:51:29
and with database too?
dr_Abdullah_AlKhalifa 2022-09-02 14:52:53
Web Developer 2022-09-02 14:51:29
and with database too?

Only provides channels to broadcast events to
Persisting data and using the event is the developer’s role

Web Developer 2022-09-02 14:53:19
yes
Web Developer 2022-09-02 14:53:34
I have done using livewire
Web Developer 2022-09-02 14:53:48
i know its not the best way to do but it’s working fine
Denno_IT 2022-09-02 14:55:52
Web Developer 2022-09-02 14:53:48
i know its not the best way to do but it’s working fine

Please do you have a video for this?? I have been looking for this.. But I only find chatify all the other tutorials don’t teach in details e erything upto to sending messages

Web Developer 2022-09-02 15:03:16
Denno_IT 2022-09-02 14:55:52
Please do you have a video for this?? I have been looking for this.. But I only find chatify all the other tutorials don’t teach in details e erything upto to sending messages

same for me but after i have done by my own

Denno_IT 2022-09-02 15:05:32
Web Developer 2022-09-02 15:03:16
same for me but after i have done by my own

Please do you mind sharing the source code specifically for this part… I have the willingness to do the message system as well as the popup support message system with admin dashabord like the one used by twikio.io or tidio.io and others..

cryptospyd3r 2022-09-02 15:09:09
Hello I am looking for full-time laravel developer in India.
Dm for more details
user_hb 2022-09-02 15:11:08
cryptospyd3r 2022-09-02 15:09:09
Hello I am looking for full-time laravel developer in India.
Dm for more details

how much for salary?

Web Developer 2022-09-02 15:12:02
Denno_IT 2022-09-02 15:05:32
Please do you mind sharing the source code specifically for this part… I have the willingness to do the message system as well as the popup support message system with admin dashabord like the one used by twikio.io or tidio.io and others..

actually it’s not in my pc. it’s companies freelancing work

Web Developer 2022-09-02 15:12:12
sorry for that
Yousef Dhrooj 2022-09-02 15:12:34
dr_Abdullah_AlKhalifa 2022-09-02 14:50:35
Pusher
Perfect for laravel
And the free tier is very generous
About 200k messages per day

Thank you , and this give me same result if i use socket.io ?

dr_Abdullah_AlKhalifa 2022-09-02 15:15:11
Unfortuntly I have not used Laravel with socket io
I use with express js and pusher with laravel
Yousef Dhrooj 2022-09-02 15:35:26
Ok
Redvan55 2022-09-02 16:19:32
laravel_discuss-136594.jpg
image path right, ı have getting a bug
Life_Begins_At_Erection 2022-09-02 16:22:48
Denno_IT 2022-09-02 15:05:32
Please do you mind sharing the source code specifically for this part… I have the willingness to do the message system as well as the popup support message system with admin dashabord like the one used by twikio.io or tidio.io and others..

Am trying to do this bg my own with livewire poll mounting every 2 10 sec but , I found it it’s so Bad for request it sends and mounts the msg every sec

h_a_r_s_a_l 2022-09-02 16:34:58
Why my cron job is excuted only once on local?
Denno_IT 2022-09-02 16:35:34
Life_Begins_At_Erection 2022-09-02 16:22:48
Am trying to do this bg my own with livewire poll mounting every 2 10 sec but , I found it it’s so Bad for request it sends and mounts the msg every sec

Can I see the sourced code

h_a_r_s_a_l 2022-09-02 16:36:49
When i used php artisan schedule:run its excuted only once and when i run php artisan schedule:work it’s running every minute that is fine
h_a_r_s_a_l 2022-09-02 16:37:05
Why this?
h_a_r_s_a_l 2022-09-02 16:37:30
Which command is used for run cron job??
h_a_r_s_a_l 2022-09-02 16:38:05
And how to stop cron job??
DesolatorMagno 2022-09-02 16:47:06
That depend, it always depend, if you just want to run all the jobs and them stop you can use

php artisan queue:work –stop-when-empty

to stop the worker you can just kill it.

DesolatorMagno 2022-09-02 16:47:55
https://laravel.com/docs/9.x/queues#running-the-queue-worker

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
DesolatorMagno 2022-09-02 17:10:13
Una duda, cuando necesita comprobar si algo es false, que hacen, comparan con false o niegan?

if($value === false)
if(! $value)

Es que usar negación cuando son mas de 1 condición tiende a confundirme, asi que tiendo a evitarlo siempre.

sanjaymaurya201 2022-09-02 17:42:34
Hi
Node.js, react, laravel, yii
If you have any projects, ping me.
Eagle257 2022-09-02 17:44:10
Anyone one know how to join two wherehas condition
|