Walt Mankowski on Wed, 18 Apr 2001 16:30:08 -0400 |
On Wed, Apr 18, 2001 at 02:59:35PM -0400, Rupert Heesom wrote: > > Crontab line: > > */2 * * * * touch $(date +%a-%e-%m) After a little trial and error, I figured out that you need to escape the %'s in the crontab line. When I tried this: */2 * * * * touch $(date +\%a-\%e-\%m) it created a file called "Wed-18-04" in my homedir. Don't know off the top of my head why the script solution didn't work. Walt -- Walter C. Mankowski Senior Software Engineer Myxa Corporation phone: (610) 234-2626 fax: (610) 234-2640 email: walt@myxa.com http://www.myxa.com ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|