Correct way to run scheduler without cron
#3728
Unanswered
martadinata666
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title stated, on containerized with alternative cron like yacron, or supercronic, what is the correct way to do scheduler? As by default grav had
cache-purge
,cache-clear
anddefault-site-backup
,I tried manually run
/usr/local/bin/php bin/grav scheduler 1
seems not supported? or it expectedToo many arguments, expected arguments "command".
Im not really sure. I need more explanation on this.Then after tinkering
scheduler
command a bit, I can also manually trigger grav job like this/usr/local/bin/php bin/grav scheduler -r cache-purge/default-site-backup/cache-clear
. Can I make a custom cron job based on these commands?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions