Last active
November 26, 2015 16:28
-
-
Save osde8info/086e6acc4fa3286e4603 to your computer and use it in GitHub Desktop.
use cron to run 2 python scripts and redirect output and errors to 2 logfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# crontab | |
* * * * * python y.py > $(date +\%F-\%H-\%M-\%S).txt 2>&1 ; python z.py > $(date +\%F-\%H-\%M-\%S).txt 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment