![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adding date to cron log | JohnH | Shell Programming and Scripting | 2 | 09-18-2006 10:07 AM |
| Need a script to Append date to generated .txt file | prince_of_focus | Shell Programming and Scripting | 2 | 08-01-2006 03:51 PM |
| Append current date to filename | gigigi | UNIX for Dummies Questions & Answers | 3 | 07-20-2006 06:10 PM |
| Append date to filename | hshapiro | UNIX for Dummies Questions & Answers | 5 | 04-03-2006 10:52 AM |
| mailx in cron using variable date | seaquin | Shell Programming and Scripting | 1 | 04-23-2002 04:56 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Append date to a file from CRON
Hi,
I am trying to append date in DAY_Mon_dd_yyyy at the end of a filename from cron. Cron entry looks as below. (script to execute) > test_file_`date +"a_%b_%d_%Y"` File name created after executing the job is test_file_ I am expecting the filename to be something like test_file_Wed_Feb_13_2008 I tried without double quotes also. Please help. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|