On 2014-10-08 15:23, Duane Hill wrote:
No. && is a way of chaining commands together. Your cron says run sa-update and then restart spamd. In other words, when sa-update finishes running, regardless if there was an update applied or not, restart spamd.
I thought that ; would chain commands together and run both in sequence regardless of the results, whereas && is a conditional for if the previous command succeeded and || was a conditional for if the previous command failed?
At least in bash... -- Dave Warren http://www.hireahit.com/ http://ca.linkedin.com/in/davejwarren