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
Traditional cron is an overlay on top of individually executable scripts. onSchedulerInitialized attaches a PHP function to a job entry, but we have no way to simply run the PHP function independantly.
Until we get a bootstrap system (./bin/grav exec/eval/eval-script), it'd be handy to have a way to trigger the job manually.
In my case I've a custom json cache system and I wanted to refresh manually when doing a specific update to my code (and test/debug it).
Currently I can only wait for the cron to run it again by itself.
The text was updated successfully, but these errors were encountered:
drzraf
changed the title
Forcefully run a cron job
Ability to forcefully run a cron job now
Nov 4, 2019
Traditional cron is an overlay on top of individually executable scripts.
onSchedulerInitialized
attaches aPHP function
to a job entry, but we have no way to simply run the PHP function independantly.Until we get a bootstrap system (
./bin/grav exec/eval/eval-script
), it'd be handy to have a way to trigger the job manually.In my case I've a custom json cache system and I wanted to refresh manually when doing a specific update to my code (and test/debug it).
Currently I can only wait for the cron to run it again by itself.
The text was updated successfully, but these errors were encountered: