PhpDig.net

Go Back   PhpDig.net > General Forums > Coding & Tutorials

Reply
 
Thread Tools
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexing Password Protected pages (using session variables) apetersen How-to Forum 1 03-27-2007 04:18 AM
Array variables in MySQL UPDATES peterl3233 Coding & Tutorials 4 11-10-2005 08:59 PM
2 how-to questions backups, and Crons Mindrot How-to Forum 1 03-25-2004 10:07 PM
Hide variables shinji How-to Forum 1 01-25-2004 07:59 AM


All times are GMT -8. The time now is 08:39 AM.


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