25 Feb
2005
25 Feb
'05
19:15
On Fri, Feb 25, 2005 at 04:49:08PM +0100, Leendert Meyer wrote:
On Friday 25 February 2005 14:12, Patrick Shanahan wrote:
How would I enter the following line in crontab?: echo `date _%y%m%d` ^^^ ^^^ those are back-tic's
Already tried the $() alternative?
echo $(date _%y%m%d)
I am not sure about underscore. This is what I am using in crontab: $(date +\%y\%m\%d) "%" has a special meaning in crontab, it marks a new line. To use % as it is, you have to escape it. -Kastus