XFileSharing Pro - cron.pl have not been running for XX hours. Set up cronjob o

Message
Author
MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

cron.pl have not been running for XX hours. Set up cronjob o

#1 Postby MrJones » Jun 18, 2012 1:50 pm

Hello

I've added the 2 lines of code in my crontab section
and it doesn't work.
This is a picture from my control panel.
It's ok...do I do it wrong?It's the first time I add
a crontab.

Image

stdio
Posts: 65
Joined: Mar 27, 2012 4:05 pm

#2 Postby stdio » Jun 18, 2012 2:08 pm

Make sure your document_root is in /var/www

Stefanzm
Posts: 85
Joined: Apr 08, 2012 3:41 pm

#3 Postby Stefanzm » Jun 18, 2012 3:11 pm

change /cgi-bin; /cron.pl to
/cgi-bin && ./cron.pl

There is space between cgi-bin and && and space between && and ./cron.pl

MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

#4 Postby MrJones » Jun 18, 2012 6:15 pm

@Stefanzm I changed the cron and didn't work.Btw after cgi-bin i didn't add ;.Is it ok or did you forgot to mention?

this is how it looks on my hosting.What should i put in cron to work?
Image

Stefanzm
Posts: 85
Joined: Apr 08, 2012 3:41 pm

#5 Postby Stefanzm » Jun 19, 2012 5:15 am

I`m little confused.
From your command the webpage should be in /var/www
And your showing the root dir.

Check does folder var has www , and is there another cgi-bin and httpdocs

MrJones
Posts: 26
Joined: May 28, 2012 4:51 pm

#6 Postby MrJones » Jun 19, 2012 3:11 pm

cd /var/www/vhosts/sitename.com/cgi-bin;./cron.pl >/dev/null 2>&1
cd /var/www/vhosts/sitename.com/cgi-bin;./cron_deleted_email.pl >/dev/null 2>&1

I found what you ask for and replaced in the cron.This should be ok now...right?

Silfro
Posts: 48
Joined: May 16, 2012 1:31 am

#7 Postby Silfro » Jun 20, 2012 8:04 pm

sibsoft installed xfilesharing pro for me. And I also get this message.