Forum Moderators: coopster & phranque

Message Too Old, No Replies

Cronjob to perl a CR_Web.cgi

perl a cgi file

         

aff_dan

2:12 pm on Jul 29, 2005 (gmt 0)

10+ Year Member



Hello Sirs,
I have in cgi-bin/LP_Web.cgi
Usally I use root to execute this script:
root@server1 perl LP_Web.cgi

But I want to make it run using Cronjob from Cpanel.
How to make this possible?

Regards,
Dan

WWMike

2:26 pm on Jul 29, 2005 (gmt 0)

10+ Year Member



Here's a link:

[weather.ou.edu...]

volatilegx

2:49 pm on Aug 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



CPanel provides an extremely user friendly method for setting up crontab. Basicly, you just choose the Crontab menu item, type the full path to your CGI script, and set how often you want it to execute. You can even get an email notification of the execution.