I'm new to cron, and i'm currently going through manuals... But there are loads of commands.
I would like to have my php code elsewhere on the net accessed.
I'd like to ask is there's any command that would act like a normal browser request for certain page somewhere on the net.
If not, it can(?) execute programs on the server. I know nothing of unix enviroment (ok i've used pine and chmod), so what kind of program i would need to do the thing?
***********************
You were kicked from #unix by wpp (wget)
I'll investigate that wget... I was currently on b... commands on the manual...
Cron Daemon
Moderator: General Moderators
-
Shendemiar
- Forum Contributor
- Posts: 404
- Joined: Thu Jan 08, 2004 8:28 am
You can achieve the previous by:
in unix shell: crontab -e
opens a config file for cron
putting there: * * * * * wget http://www.this.that/main.php -O saveasthisfilename
will save that web page to saveasthisfilename, also executing the page! This is done each minute! See Wget manual for other timining definitions.
Wget manual:
http://www.gnu.org/software/wget/manual ... /wget.html
VI, unix text editr manual:
http://www.eng.hawaii.edu/Tutor/vi.html
Crontab "manual":
http://weather.ou.edu/~billston/crontab/
in unix shell: crontab -e
opens a config file for cron
putting there: * * * * * wget http://www.this.that/main.php -O saveasthisfilename
will save that web page to saveasthisfilename, also executing the page! This is done each minute! See Wget manual for other timining definitions.
Wget manual:
http://www.gnu.org/software/wget/manual ... /wget.html
VI, unix text editr manual:
http://www.eng.hawaii.edu/Tutor/vi.html
Crontab "manual":
http://weather.ou.edu/~billston/crontab/