View Single Post
  #50  
Old 31st May 2010, 18:09
Torch_za Torch_za is offline
Junior Member
 
Join Date: Apr 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default cron

Quote:
Originally Posted by nokia80 View Post
hello

can someone tell me how I setup cron job

I want to do this in ISPConfig, and then at night

with kind regards michael
You don't say for what OS: Most Linux / Unix boxes will accept the following:

from the shell as root:
Code:
 crontab -e
then copy and paste:
Code:
30 1 * * *  /etc/back-res 1>/dev/null 2>/dev/null
which is
Code:
*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)
So at 30 minutes past 1 every day of the month run back-res sending output and error output to the bit bucket

To run a cronjob for hosted websites there is an option on the control panel -- sites .. cronjobs

Last edited by Torch_za; 31st May 2010 at 18:17. Reason: bad tags
Reply With Quote