Ive got some scripts Ive written that I want the output to be appended to a file. Ive added the scripts to cron, and tried to output the result to log files:
It seems to work, but doesnt append, it overwrites each time. Is there a simple way to output it and append?
* * * * * /etc/cron.d/sort.old.sh > /var/log/chattr.log
0 1 * * * python /etc/cron.d/funky_file_mover.py > /var/log/funky_file_mover.log
0 2 * * 1 /etc/cron.d/move.sh > /var/log/move.log
30 2 * * * /etc/cron.d/rename.sh > /var/log/renamed.log