How do I do cron job for list of URLS?

Cron job for list of urls

  • Leave it I got What I want...and let you know what I was searching for it..coz the site is launching on 19 th of this month...actually I cant explain the details now...

  • Answer:

    Since you are using PHP, you could create a PHP page that gets one of the URL and processes it. In sort of a round robin. This allows manual tests. Then you put a cron task: 12 */2 * * * /usr/bin/wget -O - -q http://localhost/yourpage.php This will call the same page you tested manually every hour. This is how Drupal run it's automated tasks.

mathew at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

I'd say use jQuery.

Entendu

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.