View Single Post
  #1 (permalink)  
Old 07-17-2009, 10:08 AM
gwsuk77 gwsuk77 is offline
Junior Member
 
Join Date: Jul 2009
Posts: 2
gwsuk77 is on a distinguished road
Question How do I combine Cron Jobs PHP files?

Hi,

Can anyone please help me combine my Cron Jobs PHP files?

I have two Cron Job PHP files that I would like to combine into one.

a) cron_send.php

b) cron_expand.php

I would like to set it up so that when ( cron_send.php ) completes, it will call in and start ( cron_expand.php )

Is it possible to call in and execute several cron job files from within one php file.

Cron_send.php already has an include as follows...

set_time_limit(0);
include("inc.all.php");

Would the following include command work to call in ( cron_expand.php ) once ( cron_send.php ) completes..

include("inc.all.php,cron_expand.php");

I will appreciate any help at all.

Many thanks,

Frederick Malick
Reply With Quote