Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies


help in entering dates



1:35 am on Apr 3, 2002 (gmt 0)

Inactive Member
Account Expired


Hello all,

I am trying to run a cronjob to take backup files of a directory every day which I had no trouble doing. What I want to do now is to have it automatically add the current date of when the backup was taken onto the filename. Is this possible? Below is the file that I have created.

#Execute backup files located in the following directory:
* * * * * tar czvf BKSRC.tar.gz /usr/home/files

1:55 am on Apr 3, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 17, 2000
votes: 0

Check out Sugarkane's post in this thread [webmasterworld.com], he has a little shell script that you could probably barrow from to get what you need done.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members