CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Setting CRON on hosted website..possible?

 



S_Shrum
User

Oct 2, 2001, 12:11 AM

Post #1 of 2 (695 views)
Setting CRON on hosted website..possible? Can't Post

Is it possible to setup a CRON process on a externally hosted website remotely (ala: without the aid of the host providers tech support)?

Sean Shrum
sean@shrum.net
www.shrum.net


Kanji
User / Moderator

Oct 2, 2001, 3:10 PM

Post #2 of 2 (690 views)
Re: Setting CRON on hosted website..possible? [In reply to] Can't Post

Depends on the host provider.

Assuming they allow cronjobs and you have sufficient permissions to edit them yourself, you can do so a number of ways.

If you have a shell account, the easiest way by far would be to login via telnet or SSH and run 'crontab -e'.

If all don't have a shell account but do have access to CGIs, then you need to either create a CGI that sets $ENV{'EDITOR'} to a script or command that will get executed when you run 'crontab -e', or -- if you don't care about race conditions -- dump the contents of your crontab into a file ('crontab -l'), edit it, and reinsert ('crontab filename').


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives