|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
cron tab help
hello:
I'm wanting to put a new entry into my cron tab, how would the entry look if I wanted it to run everyday at ll AM and 5 PM? Thanks |
|
#2
|
||||
|
||||
|
RE: cron tab help
I think it's:
0 11,17 * * * command |
|
#3
|
|||
|
|||
|
RE: cron tab help
for a more throw explanation see my tutorial:
http://codewalkers.com/tutorials/43/1.html |
|
#4
|
|||
|
|||
|
RE: cron tab help
dude, you cant realy be 13 y/o ?!?
|
|
#5
|
|||
|
|||
|
RE: cron tab help
What if i want to send a variable to the php file that i run? Like the one below.
* * * * * /wwwroot/htdocs/ping.php?sid=5 is that the way? will $_POST be able to retrieve the variable? |
|
#6
|
||||
|
||||
|
RE: RE: cron tab help
Quote:
No, you need to do something like: * * * * * php -f /wwwroot/htdocs/ping.php -- 5 Then you can use the $argv array to access the 5. You can do the query string method kind of like you wanted, but the actuall command you'd being calling needs to be some kind of web-browser type program like curl. |
|
#7
|
|||
|
|||
|
RE: RE: cron tab help
Im not 13 im 12.
Quote:
|
|
#8
|
|||
|
|||
|
RE: cron tab help
I need my php file to write to my crontab file and then execute it. It writes to the file but it just doesn't run it. This is what i tried. The exec() doesn't seem to work
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > cron tab help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|