You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@playinteractive the second block of code is the correct, you might need to call resetRun only if you want the same job to run multiple times in the same schedule.
Example
$scheduler->php('job1.php');
$scheduler->php('job2.php');
$scheduler->run();
// Then you want job1 to run again in the same schedule$scheduler->resetRun();
$scheduler->php('job1');
$scheduler->run();
Hi there,
I'm reading a list of cronjobs from the database but I'm not sure how to use resetRun():
or maybe:
Many thanks,
The text was updated successfully, but these errors were encountered: