Simple question but I cannot find the answer anywhere, all posts are about how to run cron inside a fabric script. But how can I run a fabric script on my crontab? Something like this:

00 00 * * * /project/folder/fab deploy
有帮助吗?

解决方案

Found the answer, this is my crontab to run a fabric script:

00 00 * * * cd /project/folder && fab deploy
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top