PDA

View Full Version : Passing variables through crons


CrazyPhil
05-13-2007, 08:43 AM
Hello,

I have one cron file, but I need it to access multiple db's, but not all at once.


The way I used to have the cron was:

1 2 * * * /home/crazyphil/public_html/app/cron_tab.php

But now I need it to pass variables:

1 2 * * * /home/crazyphil/public_html/app/cron_tab.php?db=1

How can I do this? (I had no luck with it)..

Thanks,

--Phil