You are here:  » Cron jobs


Cron jobs

Submitted by sidabm on Fri, 2010-01-08 17:47 in

Help, I have managed to use Magic Parser to do everthing i want, but i want to run a series of php files, at a given time and when file one is finished i would like it to run file 2 etc. I have tried includes in php but get maigic parser error as it is already been used in file one and cant be used again in file 2

Sidabm

Submitted by support on Fri, 2010-01-08 17:51

Hi Sidabm,

Wherever you are using...

require("MagicParser.php");

...in your scripts; just use this instead:

require_once("MagicParser.php");

That should sort it!
Cheers,
David.

Submitted by sidabm on Fri, 2010-01-08 19:42

That fixed it once i changed eack Myrecordhandler to Myrecordhandler & Myrecordhandler1

Thanks David