Welcome to WebmasterWorld Guest from 54.147.212.173

Forum Moderators: bakedjake

Message Too Old, No Replies

cronjobs

help in entering dates

     

tozawacchi

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:
#/usr/home/files
* * * * * 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
posts:2924
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