|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Cron job question?
for my restalk script its on a diffrent site thats free and it dont have cron jobs and on my domain i do it lets u pick a file but can i use a url ? and thats not even on that site?
|
|
#2
|
|||
|
|||
|
RE: Cron job question?
Well, not directly, but you can use wget or lynx or whatever, as in
30 3 * * * /usr/bin/wget -O - http://www.example.com/dosomething.php | /usr/sbin/sendmail you@youraddress.com (all on one line) This will run the script at 3:30am each day, and send whatever it outputs to you@youraddress.com... Hope that helps... |
|
#3
|
|||
|
|||
|
RE: Cron job question?
you could do something simular, as above, using ssh and using 'keys' for authentication. Then, you wouldn't have to worry about someone stumbling across that script on your website, and using it for malicious purposes.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Cron job question? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|