Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to execute bash file daily at 12:30 for example to make backup to something how i can do it ?? and other one monthly ???? the operating system is Unix

share|improve this question
up vote 4 down vote accepted

You will have to use the cron facility to do this. In particular you will have to edit the crontab file and add a couple of entries.

To run a job daily at 12:30 you would create an entry in the crontab file like so

30 12 * * * /path/to/your/DailyBashScript

to run a job monthly for example on the 1st of the month at 20:45

45 20 1 * * /path/to/yourMonthlyBashScript
share|improve this answer

You're looking for cron.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.