| View previous topic :: View next topic |
| Author |
Message |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 14, 2011 5:25 pm Post subject: how make cron work? |
|
|
hi sry for bad english
when i installed script i changed "cgi-bin" to "hoka"
so is this code right?
| Code: | | cd /home/seedfly/www/hoka;./cron.pl >/dev/null 2>&1 |
"seedfly" is my site user
if it right?
how i can add it in c panel?
or ssh؟
thx |
|
| Back to top |
|
 |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 15, 2011 1:22 am Post subject: |
|
|
i entered ssh
i wrote
and put this line | Code: | | 0 * * * * cd /home/seedfly/www/hoka;./cron.pl >/dev/null 2>&1 |
the expired files not deleted yet  |
|
| Back to top |
|
 |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 15, 2011 8:19 pm Post subject: |
|
|
| can any one help me? |
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1283
|
Posted: Feb 16, 2011 7:37 am Post subject: |
|
|
| With this cron command, cron.pl will be started every hour. |
|
| Back to top |
|
 |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 16, 2011 10:04 am Post subject: |
|
|
okay but the expired files not deleted yet  |
|
| Back to top |
|
 |
ankurs
Joined: 10 Mar 2009 Posts: 605
|
Posted: Feb 16, 2011 10:07 am Post subject: |
|
|
| rewater wrote: | okay but the expired files not deleted yet  |
check your settings again |
|
| Back to top |
|
 |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 16, 2011 10:10 am Post subject: |
|
|
Expire files 30 days after last download
but the xpired files still on the server  |
|
| Back to top |
|
 |
PowerChaos
Joined: 19 Dec 2009 Posts: 440 Location: belguim
|
Posted: Feb 16, 2011 11:12 pm Post subject: |
|
|
can you run the cron manaul and see if the files get removed then
if not , then your cronjob permisions are wrong
check cronjob permisions and crontab settings
a other way to test it later then is by creating the symlinks (direct links) and let them expire realy fast ( min is 1 hour if i am not wrong)
Greets From PowerChaos |
|
| Back to top |
|
 |
rewater
Joined: 29 Dec 2010 Posts: 10
|
Posted: Feb 17, 2011 12:20 am Post subject: |
|
|
| PowerChaos wrote: | can you run the cron manaul and see if the files get removed then
if not , then your cronjob permisions are wrong
check cronjob permisions and crontab settings
a other way to test it later then is by creating the symlinks (direct links) and let them expire realy fast ( min is 1 hour if i am not wrong)
Greets From PowerChaos |
i tries to open it from explorer it give me error 500
but the permisions is 755
what can i do step by step plz  |
|
| Back to top |
|
 |
|