How to do a Cron task with Laravel?

Asked

Viewed 36 times

1

I have a Function in php/Laravel, and would like to fire this Function every 2 hours and 35 minutes.

My question is: Using Laravel, as I create correctly, a cron to trigger this function in this time range?

  • not pq the top shows how to do 24h I want to know how would be to do 2:35h at 2:35h and following as mentioned here did not work @Darleifernandozillmer

  • It’s the same thing, you just need to set the times that will run, you can use twiceDaily(0, 2, 4, 6, 8, ...) for this.

  • ah yes thank you

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.