| View previous topic :: View next topic |
| Author |
Message |
ALMGHARI
Joined: 07 Jun 2008 Posts: 36
|
Posted: Oct 24, 2008 11:13 pm Post subject: The files not deleted !! |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Oct 27, 2008 11:44 am Post subject: |
|
|
| Make sure cron.pl is 755 and running as cronjob every hour. |
|
| Back to top |
|
 |
ALMGHARI
Joined: 07 Jun 2008 Posts: 36
|
Posted: Oct 27, 2008 1:45 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Oct 28, 2008 7:10 am Post subject: |
|
|
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: | | 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. |
|
| Back to top |
|
 |
ALMGHARI
Joined: 07 Jun 2008 Posts: 36
|
Posted: Oct 28, 2008 2:09 pm Post subject: |
|
|
| Very very thanks PilgrimX182 |
|
| Back to top |
|
 |
|