![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File timestamp | stevefox | UNIX for Dummies Questions & Answers | 4 | 12-24-2007 09:14 PM |
| changing timestamp of a file | krishan | SUN Solaris | 1 | 05-23-2005 07:50 AM |
| Spooling a log file with timestamp | ukadmin | UNIX for Dummies Questions & Answers | 2 | 03-23-2004 05:06 AM |
| timestamp of file | krisdhar | UNIX for Dummies Questions & Answers | 4 | 10-28-2003 06:31 AM |
| retrieve timestamp associated with a file | 2nilotpal | UNIX for Dummies Questions & Answers | 2 | 08-08-2002 03:23 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Changing timestamp file in crontab
Hi All
I want to change the date timestamp for the log file but to do it within crontab I've tried the following.. 40 11 * * * /data/dart/dc65.1/bin/adstats.sh > /data/dart/dc65.1/bin/adstats_`date'+%d:%m-%H.%M.%S'`.log 2>&1 But I only get adstats_ Any ideas? Thanking you all inadvance... |
| Forum Sponsor | ||
|
|
|
|||
|
man 5 crontab
Your probably hitting this -- Quote:
|
|||
| Google UNIX.COM |