Pergunta

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
Foi útil?

Solução

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

00 00 * * * cd /project/folder && fab deploy
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top