XFileSharing Pro - The files not deleted !!

Message
Author
ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

The files not deleted !!

#1 Postby ALMGHARI » Oct 24, 2008 11:13 pm

Hello,

Please The files not deleted after last download
I want the files after last download , 45 days , deleted from my hard drives

I set 45 days in ( Expire files # days after last download ) in Site Settings
But, There are files from 7/2008 , 0 download , not deleted

Please, I want to delete these files after 45 days from last download
I wait your reply
Thanks

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

#2 Postby PilgrimX182 » Oct 27, 2008 11:44 am

Make sure cron.pl is 755 and running as cronjob every hour.

ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

#3 Postby ALMGHARI » Oct 27, 2008 1:45 pm

PilgrimX182 wrote:Make sure cron.pl is 755 and running as cronjob every hour.


cgi-bin/cron.pl
cron.pl is 755 (main server)

But, How I running as cronjob ?

step by step please

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

#4 Postby PilgrimX182 » Oct 28, 2008 7:10 am

There's special CRONtab section in cPanel.
Or if you have SSH root access you can type in console: "crontab -e" and edit cron file, add line 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 path to cgi-bin.

ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

#5 Postby ALMGHARI » Oct 28, 2008 2:09 pm

Very very thanks PilgrimX182


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests