Posted by CT on 02/02/06 17:39
Will wrote:
> I have a script that is being executed with a cron job but I want that
> script to kick off 2 other scripts. Can I do that with include() or do
> I just call it directly or what? I can't seem to find a simple answer
> to that and I know it is a simple answer but maybe I am not looking right.
>
> Thanks,
> Will
I'm not extremely experienced in PHP but I would say that an include() or
require() would work just fine. Might want to be sure that the cron starts
before starting the other two scripts - just a simple if statement would
work.
[Back to original message]
|