XFileSharing Pro - cronjob is not working at all

Message
Author
pvakr
Posts: 42
Joined: Dec 14, 2009 5:08 pm

cronjob is not working at all

#1 Postby pvakr » May 17, 2011 1:05 pm

Hello, I tried to setup the cron as in installation manual and as suggested by the users of this forum.But is not working.

I opened it using

crontab -e


And added the code that is given in installation manual.But there is no use.
What are the other options?

Thanks.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » May 18, 2011 10:40 am

It's not working because you didnt changed path to your cgi-bin folder.

pvakr
Posts: 42
Joined: Dec 14, 2009 5:08 pm

#3 Postby pvakr » May 20, 2011 7:55 am

I added this to crontab.

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

Will this be ok?

Thanks.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » May 20, 2011 12:26 pm

Yes. It will start every hour. Just make sure that cron.pl have 755 permissions.