View Single Post
Old 05-13-2007, 08:43 AM   #1
CrazyPhil
Green Mole
 
Join Date: May 2007
Posts: 1
Passing variables through crons

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
CrazyPhil is offline   Reply With Quote