In the crontab file, should commands with the ending "&" be indicated or will the command be executed in the background?
I have:
*/20 * * * * /home/me/monitor/check.sh /home/me/monitor/check.properties >> /home/me/monitor/check.log 2>&1 &
I have seen conflicting answers to this question in different places. Some say that you donβt need to put &, others that without the cron ampersand wait for the command to exit, even if all output is redirected.
Thanks Paul
linux cron crontab
user265330 May 08 '12 at 17:26 2012-05-08 17:26
source share