Operating System - HP-UX
1745924 Members
4062 Online
108723 Solutions
New Discussion

Re: How can I send to logfile based on 'date + %a' in cron?

 
SOLVED
Go to solution
Tom Schroll
Frequent Advisor

Re: How can I send to logfile based on 'date + %a' in cron?

According to the crontab(1) man page, the percent "%" character is special to cron. In order to use this character in an in-line command like this, one must escape the percent sign with a backslash "\".

Hope this helps too!

-- Tom
If it ain't broke, it needs optimized.