Activity Stream
48,167 MEMBERS
6726 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default Cron jobs interval question

    Hello, Im a bit confused about setting the interval for cron jobs.

    I want it to backup my files every week (4 times a month). I know the command, but I dunno how to set the interval...

    Should it be 0 0 * * 1 (Minute, Hour, Day, Month, Weekday) or what?

    Thank you.
    Mac Reviewed by Mac on . Cron jobs interval question Hello, Im a bit confused about setting the interval for cron jobs. I want it to backup my files every week (4 times a month). I know the command, but I dunno how to set the interval... Should it be 0 0 * * 1 (Minute, Hour, Day, Month, Weekday) or what? Thank you. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    KinkKorner.com Warez-Project.net
    Just set the day of the week and the hour of which you wish to start.
    The minute settings shouldn't apply to you.
    So obviously if you're running it four times a month it will start on the specific day and hour you set per week.
    Leave the day of the month setting to " * " as it won't apply to you (being as you're setting the cron to run four times per month)


    Pikeypete

  4.     
    #3
    Member
    So, if I want it to do it at 2am every Sunday, I would set it to 0 2 * * 1 right?

  5.     
    #4
    Member
    Website's:
    KinkKorner.com Warez-Project.net
    I think you're confusing the row of minutes section.
    Set the 'Day of the Week" part to Sunday and then set the "Hour" part to 2 (as it uses the 24 hour clock).
    Do NOT touch the row of minutes
    .
    Put your title in, select your product and voila.


    Pikeypete

  6.     
    #5
    Member
    Im in advanced mode... But nevermind, I found it out myself, and I was right. In advanced mode, you need to set it to 0 2 * * 1 for running the command every Sunday at 2:00 am...

  7.     
    #6
    Member
    Website's:
    KinkKorner.com Warez-Project.net
    Quote Originally Posted by schlupi View Post
    Im in advanced mode... But nevermind
    You didn't say you were running advanced.

    And you're welcome.



    Pikeypete

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Set Cron jobs for ABK software?
    By Areon in forum Server Management
    Replies: 0
    Last Post: 20th Mar 2014, 01:19 PM
  2. Cron jobs
    By Areon in forum Server Management
    Replies: 0
    Last Post: 20th Mar 2014, 01:15 PM
  3. Cron Jobs
    By Dviper27 in forum Server Management
    Replies: 4
    Last Post: 30th Sep 2012, 07:39 PM
  4. Backup cron jobs
    By FancyPants in forum phpBB
    Replies: 8
    Last Post: 7th Mar 2010, 06:34 PM
  5. cron jobs
    By GeeZus in forum vBulletin
    Replies: 7
    Last Post: 4th Oct 2009, 07:31 PM

Tags for this Thread

BE SOCIAL