Run two commands with a crontab Run two commands with a crontab shell shell

Run two commands with a crontab


You can have multiple commands in a single crontab line. Just separate them with semicolons:

crontab -l | { /bin/cat; /bin/echo "* 3 * * * cd /etc/application ; scrapy crawl"; } | crontab -