XFileSharing Pro - Corn.pl

Message
Author
Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

Corn.pl

#1 Postby Rihan » Sep 06, 2012 1:51 pm

what is the use of corn.pl?

etemelkuran
Posts: 5
Joined: Aug 30, 2012 12:36 pm

#2 Postby etemelkuran » Sep 07, 2012 12:23 am

First type

Code: Select all

crontab -e


Then add

Code: Select all

0   *   *   *   *   cd /var/www/cgi-bin;./cron.pl >/dev/null 2>&1
0     0   *   *   *   cd /var/www/cgi-bin;./cron_deleted_email.pl
>/dev/null 2>&1


there must be only one space between 0 and 0 or *

If it gives carp error type

Code: Select all

yum install perl-CPAN
yum install perl-FCGI
yum install perl-YAML
yum install make


Then enter perl console with

Code: Select all

perl -MCPAN -e 'shell'


Finally install Carp

Code: Select all

install CGI::Carp


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 3 guests