+ Reply to Thread
Results 1 to 4 of 4

Thread: Cron Job Question

  1. #1
    indysolo62123 is offline x10Hosting Member indysolo62123 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    10

    Cron Job Question

    I have a question regarding cron jobs. If I wanted to run one every 5 minutes starting at 03 and so on on every sunday starting after 1 pm est how would I go about doing it? (So it would run at 03,08,13,18,23,28,etc.) Would I need to do them each seperatly or not?
    Last edited by indysolo62123; 08-15-2011 at 06:15 PM.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Cron Job Question

    1. Just one script?
    2. 03->58 starting at 1pm for one hour? rest of day?
    3. every sunday
    Nothing is always absolutely so.

  3. #3
    indysolo62123 is offline x10Hosting Member indysolo62123 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    10

    Re: Cron Job Question

    I think I figured it out. I did this for the time 03,08,13,18,23,28,33,38,43,48,53,58 12-23 * 8-12 0

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Cron Job Question

    Good work so far. See the cron job samples in the X10 Wiki article for a way of shortening the minutes field using step values ("/[number]").
    Last edited by misson; 08-16-2011 at 04:47 AM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Cron job and webmail question
    By pballz in forum Free Hosting
    Replies: 1
    Last Post: 07-15-2011, 02:32 PM
  2. A question about cron jobs 5 min limit
    By mohTareq in forum Free Hosting
    Replies: 6
    Last Post: 12-24-2009, 10:16 AM
  3. Cron Question
    By hitster4 in forum Free Hosting
    Replies: 4
    Last Post: 10-14-2009, 06:15 PM
  4. Cron question
    By mumbhaki in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 11-18-2007, 02:54 AM
  5. Quick CRON Question
    By deadimp in forum Free Hosting
    Replies: 4
    Last Post: 08-24-2007, 06:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers