bberlia
04-04-2006, 03:38 AM
Hi ,
Can anybody please help me with the process of creating cron tabs to automatically refresh a asp page on my server
Regards
Bharat
RACKSET
04-05-2006, 03:33 PM
What OS/Control panel do you use on server that you wnat to setup cron?
folsom
04-05-2006, 04:18 PM
Just do a crontab -e to edit your crontab, but you will want to read the crontab man page for your OS. I have noticed the crontab entry format is a little different between the OSs that I have used. For example redhat lets us use 0 or 7 for sunday, but solaris makes us use just 0, and I think AIX swaps the minute and hour fields.
anjanesh
04-06-2006, 03:30 AM
Login into CPanel goto Cron Jobs > Standard Cron Manager if you dont know the cron format. Yopu should be in a url something like this : http://domain.com:2082/frontend/x/cron/simplecron.html?
Add your script in Command to run: box.
bberlia
04-06-2006, 03:37 AM
Ok.. but how to craete the script for the cron.. will that script be a simple php file
anjanesh
04-06-2006, 05:39 AM
script can be anything - even an exe file - just make sure the script can actually run on your server. An exe cant run on Linux directly - but maybe through some other tool - I dont know. Point is, its like you're running some command in shell - cron will just run it for you in the background at regular intervals.
compjab
04-06-2006, 09:41 AM
Hi ,
Can anybody please help me with the process of creating cron tabs to automatically refresh a asp page on my server
Regards
Bharat
How often do you want this to happen? Is this a page that viewers can see? What exactly are you trying to do here.. Maybe I can write something in PHP that you could use