Problem handling a CRON Job

by edmltw
4 replies
Hi professional programmers,

I recently purchased a script which allows me to set up automatic posting with a cron job. The part I couldn't figure out what does the time interval means exactly?

If I put there 20 minutes, does it mean that every 20 minutes the cron job will do it's job a little? If I put there a day does it mean that it will only do a little?

Really confused about the timing intervals,

Help me shed some light please!

Many thanks,
Ed
#cron #handling #job #problem
  • Profile picture of the author Dave Lianelli
    Hey Ed,

    you should figure out what the script you're putting into the CRON does. It's the .php file you have to enter in the CRON setup. Maybe you could read the manual or ask the creator of the script.

    Typically, the script works as many times as you set it. Thus in your case, it completes the working of the particular PHP file every 20 minutes.
    {{ DiscussionBoard.errors[2260473].message }}
    • Profile picture of the author edmltw
      Hey Dave thanks for replying!

      The script allows me to index a list of sites which I uploaded.

      Does this mean that if I entered 200 sites, it'll attempt to do all 200 at once once the clock hits 20 minutes?

      Or does it do a certain period like 10 or 20 before it automatically stops and restarts again after 20 minutes?

      Thanks again!
      Ed
      Signature

      Need A Easy, Drag and Drop Website Creation Platform?
      Click Here To Find Out More

      {{ DiscussionBoard.errors[2260531].message }}
  • Profile picture of the author alexievici
    Hi Ed, on this one you must ask the creator of the script to tell you if it's doing all 200 sites at once or if it does smaller batches.
    {{ DiscussionBoard.errors[2265637].message }}
  • Profile picture of the author CoderPundit
    Yes check with the author how the cron is programmed to run, usually if you set it to run every 20 minutes it will go through all the links every 20 minutes.

    Anyway if you want I can check it out for you, PM me.
    {{ DiscussionBoard.errors[2267673].message }}

Trending Topics