Welcome to the Monastery | |
PerlMonks |
Execute a script on a serverby Sietsch (Initiate) |
on Sep 09, 2013 at 08:18 UTC ( [id://1052974]=perlquestion: print w/replies, xml ) | Need Help?? |
Sietsch has asked for the wisdom of the Perl Monks concerning the following question:
Hi there Until now, I have used perl mainly to work with local files and databases. For my current project, I want to have my script running on a webserver since it will be running an "endless loop". In other words, the script checks for something every 10 seconds and therefore, executing it on a server makes sense. My question: How do I execute a perl script on a server and keep it running? Simply via SSH using the "&" to fork the process? Thanks for your help. EDIT: Looks like this has to be done as CGI or CRON. Right?
Back to
Seekers of Perl Wisdom
|
|