DEV Community

Cover image for Running a cron job 3 times (1 pm, 2 pm and 3 pm) in Laravel
Tobi Muhamad
Tobi Muhamad

Posted on • Originally published at Medium

3 2

Running a cron job 3 times (1 pm, 2 pm and 3 pm) in Laravel

Open cronjob config with vim & add script bellow

m h dom mon dow command

  • 13,14,15 * * * php /var/www/project/artisan schedule:run >> /dev/null 2>&1

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →