RabbieBurns Posted June 17, 2009 Posted June 17, 2009 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now