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
It would be nice to be able to treat cron scripts in the same way as we do Page Logic files, almost as if (or maybe completely as if) the scripts are being routed.
Inside the crontab file, we could have something like the following:
0 5 * * * /cache?type=db&mode=daily
This would be triggered at 0500 every day, and it makes sense to store this script in the cron/cache.php file.
Inside the file, it can behave completely like any other go function:
It would be nice to be able to treat cron scripts in the same way as we do Page Logic files, almost as if (or maybe completely as if) the scripts are being routed.
Inside the crontab file, we could have something like the following:
This would be triggered at 0500 every day, and it makes sense to store this script in the
cron/cache.php
file.Inside the file, it can behave completely like any other go function:
The text was updated successfully, but these errors were encountered: