LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux class (https://www.linuxquestions.org/questions/linux-newbie-8/linux-class-930967/)

josetorres440 02-23-2012 07:50 PM

linux class
 
How do you create a cron file that will regularly perform a level 0 backup once per month

savona 02-23-2012 08:06 PM

There are a lot of options for a level 0 backup and I can't go through all of them and guess what is best for you. But here is how you set the cron job, just add your command in place of <command>.


first type the following to edit crontab:

crontab -e

Then add this line:

@monthly <command>

Then your command will run on the first of every month.

Satyaveer Arya 02-23-2012 11:49 PM

Or you can create a script for the backup and then create a cronjob to execute the script once a month.

Check this for creating cronjob:
http://en.wikipedia.org/wiki/Cron


All times are GMT -5. The time now is 12:40 PM.