109 questions
1
vote
0
answers
30
views
Laravel 12: Run scheduled command at 07:00 UK time while server is on UTC
I’m using Laravel 12 and I want to run a scheduled command every day at 07:00 UK (Europe/London) time, but my server is configured with UTC timezone.
In my bootstrap/app.php I have and its working:
$...
0
votes
0
answers
270
views
How to Solve External Connection Issues When Making API Calls in Laravel on OVH Shared Hosting?
I'm working on a Laravel 11 project with PHP 8.3, hosted on an OVH Pro shared server. The project involves making API calls to write data to a blockchain. This API call is scheduled to run once a day ...
0
votes
2
answers
667
views
Laravel: Scheduled command not getting executed in development environment
I am working on a Laravel project and have created a command with signature 'process:pending-reports'.
When I run this using: php artisan process:pending-reports, it does the needful i.e. the script ...
0
votes
0
answers
340
views
Laravel in production server scheduled jobs dispatches twice
In Laravel 7 I use supervisor in my production server(Ubuntu) to get some jobs running automatically.
in local env everything work well. but in my production server every job queuing twice.
This my ...
1
vote
1
answer
311
views
Laravel Forge Does Not Run Scheduled Command
Something is wrong with command running on Laravel Forge via their scheduler.
I have plenty of commands there already and all of hthem are running just fine. Scheduler setup is generic, it calls ...
0
votes
1
answer
555
views
Laravel Scheduler Issue: '1/2 * * * *' Cron Expression Valid in crontab but Not in Laravel Scheduler
I am facing a peculiar issue with Laravel Scheduler where the cron expression '1/2 * * * *' is marked as invalid, even though it works perfectly fine when added directly to the crontab. The Laravel ...
1
vote
1
answer
237
views
Laravel 10 everySecond Method doesn't work as expected
According to laravel 10 documentation, we can use other sub-minute time constraints (everySecond, everyTwoSeconds, etc) for intervals lesser than one minute; but none of the sub-minute seems to be ...
1
vote
1
answer
254
views
Laravel 10 scheduler on VPS - fails to run a nodeJS process but succeeds if is typed manually in the console
I am experiencing strange behavior of a process (Illuminate\Support\Facades\Process) running through Laravel 10 scheduler on a VPS and I really don't know how is this happening or how to fix this ...
0
votes
1
answer
224
views
Laravel scheduler chain process calls
I have several processes that I want to chain using the laravel scheduler.
<?php
namespace App\Process;
use App\Loggers\Logger;
class UtilsProcess
{
public function test1()
{
...
2
votes
1
answer
207
views
Laravel Schedule Command Not Working In EC2 with Sail
I have the laravel app running with Sail in EC2 Ubuntu AWS server.
I already have the command emails:send-weekly that I have tested with both php artisan emails:send-weekly and ./vendor/bin/sail ...
0
votes
0
answers
198
views
Laravel php artisan schedule:run directly on bash
I have a laravel application hosted on a ubuntu server.While i was setting up the scheduler i ran this command on the terminal:
php artisan schedule:run >> /dev/null 2>&1
Reading the ...
1
vote
1
answer
150
views
Execute Ubuntu command using Laravel Schedule
I want to run a command to remove all files under the folder 'allfiles/'
root@admin:/home/admin/allfiles# find . -name '*' | xargs rm
and it clears all files under allfiles
I want to run the same ...
1
vote
0
answers
62
views
Laravel scheduler start and run in custom times and not just from 0 time
Users in the application save a reminder for example at 10:45 and the system should send an email or message to him every 30 minutes.
the problem is time starts from 11 and sends the message to the ...
1
vote
1
answer
2k
views
How to use the Laravel Scheduler on shared hosting?
My hoster technically allows cronjob but with the limitation to php files.
There is no way to access the crontab from a console.
I can set it up in the administration UI only and I need to provide a ...
1
vote
3
answers
4k
views
how to run `php artisan queue:work` every minute on cpanel?
I made an cronjob in cpanel for once per minute like this:
and make a command for that like this:
as you see I give the artisan path to that.
and in this path :/home/{projcetname}/laravel/app/...