|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Cron Job ????
Hello,
was wondering if anyone out there could help me get started with a cron job calling a php script. The way I have it working right now is using a refresh page every 15 seconds. I have read some documentation and it doesn't look to hard. The script just runs out to a mysql database and if the conditions are meet sends an email.... Looking for some examples... Thanks |
|
#2
|
|||
|
|||
|
RE: Cron Job ????
how would it be if you just use
GET http://yoursite.com that would run your php script and then you just set the times when it shall run. Or did you want to know something else? |
|
#3
|
|||
|
|||
|
RE: Cron Job ????
I guess you have something like cpanel.
with use GET http://yoursite.com I ment, put that into that space when you click on the cron job thing. |
|
#4
|
|||
|
|||
|
RE: Cron Job ????
If you have a CPANEL, type this in the command field.
Quote:
|
|
#5
|
|||
|
|||
|
RE: Cron Job ????
you can use
lynx http://domain.com/yourscript.php aswell, so you've got a great selection |
|
#6
|
|||
|
|||
|
RE: RE: Cron Job ????
Quote:
Grrr.. Lucky Anon!!! |
|
#7
|
|||
|
|||
|
RE: Cron Job ????
I have never built a cron job script. I read a little about curl and it is a little over my php / computer knowlege. I was thinking I could just create a cron job that ran every 15 - 30 seconds that would call a php script that had no html in it.
I am not quite sure how to set a cron up or if this is the correct use for my situation. Here where I read my info at.. https://panel.dreamhost.com/kbase/index.cgi?area=2506 |
|
#8
|
|||
|
|||
|
RE: Cron Job ????
have you got cpanel or something like that installed on your host?
|
|
#9
|
|||
|
|||
|
RE: Cron Job ????
Ah I just read your link, have you got access to the shell if you haven't got cpanel?
|
|
#10
|
|||
|
|||
|
RE: Cron Job ????
Yes I can make it to shell fine and can move around fairly well. I am running slackware and it comes with cron so this where I am most likely to use for right now...
|
|
#11
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Server Administration' by postalcow.
Reason: Cron |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Cron Job ???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|