View Full Version : Timer function on remote server
netroact
08-18-2007, 02:52 AM
Is there a Perl timer function that works on a remote server? It seems from all the examples I have found, that Perl timers can only work on local servers. I know you can do a client side timer with javascript, but I don't see how it could work server side unless something could be done with cron.
KevinADC
08-18-2007, 06:02 AM
Hard to answer your question. Perl uses the time of whatever server it is installed on. If you want to run a perl script at a certain time then a cron job or task woul be used to initiate the script. If you want a running perl script to do something after a certain amount of time you can use the alarm() function.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.