My thanks to [EMAIL PROTECTED] and Arthur H. Johnson II 
<[EMAIL PROTECTED]> for helping to alleviate my stupidity.  ;-)  It seems 
that crond was tripping over the % rather than the +:

>actually its the % that crond is interpreting as newline. use
>/usr/local/sbin/backup.bash "`date +\%Y-\%m-\%d`" Fri

Another good suggestion that I hadn't thought of involved exporting the 
date as a variable:

# twords beginning of file
export DATE=`date +%Y%m%d`

Thanks for the quick replies!

-Eric


Eric Sisler
Applications Specialist
Westminster Public Library
Westminster, CO USA

Linux - Don't fear the Penguin.
Want to know what we use Linux for?
Visit http://gromit.westminster.lib.co.us/linux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to