homepage Welcome to WebmasterWorld Guest from 54.197.183.230
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
cronjobs
help in entering dates
tozawacchi

10+ Year Member



 
Msg#: 150 posted 1:35 am on Apr 3, 2002 (gmt 0)

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

 

littleman

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



 
Msg#: 150 posted 1:55 am on Apr 3, 2002 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved