示例
如下:每天12点30分 运行程序
30 12 * * * nohup /usr/bin/python -u /home/test.py >test.log 2>&1 &
如下: 每天12点30分30秒 运行程序
30 12 * * * sleep 30; nohup /usr/bin/python -u /home/test.py >test.log 2>&1 &
示例
如下:每天12点30分 运行程序
30 12 * * * nohup /usr/bin/python -u /home/test.py >test.log 2>&1 &
如下: 每天12点30分30秒 运行程序
30 12 * * * sleep 30; nohup /usr/bin/python -u /home/test.py >test.log 2>&1 &
打赏作者