PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Coding & Tutorials (http://www.phpdig.net/forum/forumdisplay.php?f=31)
-   -   Passing variables through crons (http://www.phpdig.net/forum/showthread.php?t=2768)

CrazyPhil 05-13-2007 08:43 AM

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


All times are GMT -8. The time now is 06:10 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.