XFileSharing Pro - Cron Problem

Message
Author
ForgottenMemorie
Posts: 16
Joined: Nov 17, 2008 8:57 pm

Cron Problem

#1 Postby ForgottenMemorie » Dec 24, 2008 9:23 am

Hosting Godaddy: I get this error email. Cron does not work, help please.

Code: Select all

Can't locate XFileConfig.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /var/chroot/home/content/f/o/r/myusername/html/cgi-bin/cron.pl line 4.
BEGIN failed--compilation aborted at /var/chroot/home/content/f/o/r/myusername/html/cgi-bin/cron.pl line 4.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 24, 2008 11:39 am

Make sure you've specified correct folder instead of example /var/www/cgi-bin in crontab string.

ForgottenMemorie
Posts: 16
Joined: Nov 17, 2008 8:57 pm

#3 Postby ForgottenMemorie » Dec 26, 2008 5:29 pm

What exactely am i supposed to put in, cause it still dont work.

shared hosting,

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Dec 29, 2008 7:07 am

In crontab there should be string like this:

Code: Select all

0	*	*	*	*	cd /var/www/cgi-bin;./cron.pl >/dev/null 2>&1
only replace "/var/www/cgi-bin" with your actual full path to cgi-bin.

sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am

#5 Postby sherayusuf3 » Feb 06, 2009 8:03 pm

hello, what the function in cron.pl??