RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
how make cron work?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 14, 2011 5:25 pm    Post subject: how make cron work? Reply with quote

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
View user's profile Send private message
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 15, 2011 1:22 am    Post subject: Reply with quote

i entered ssh
i wrote
Code:
crontab -e

and put this line
Code:
0 * * * * cd /home/seedfly/www/hoka;./cron.pl >/dev/null 2>&1

the expired files not deleted yet Sad
Back to top
View user's profile Send private message
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 15, 2011 8:19 pm    Post subject: Reply with quote

can any one help me?
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1283

PostPosted: Feb 16, 2011 7:37 am    Post subject: Reply with quote

With this cron command, cron.pl will be started every hour.
Back to top
View user's profile Send private message Send e-mail
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 16, 2011 10:04 am    Post subject: Reply with quote

okay but the expired files not deleted yet Sad
Back to top
View user's profile Send private message
ankurs



Joined: 10 Mar 2009
Posts: 605

PostPosted: Feb 16, 2011 10:07 am    Post subject: Reply with quote

rewater wrote:
okay but the expired files not deleted yet Sad


check your settings again
Back to top
View user's profile Send private message
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 16, 2011 10:10 am    Post subject: Reply with quote

Expire files 30 days after last download
but the xpired files still on the server Sad
Back to top
View user's profile Send private message
PowerChaos



Joined: 19 Dec 2009
Posts: 440
Location: belguim

PostPosted: Feb 16, 2011 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
rewater



Joined: 29 Dec 2010
Posts: 10

PostPosted: Feb 17, 2011 12:20 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group