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
cronjob

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



Joined: 28 Nov 2011
Posts: 26

PostPosted: Jan 19, 2012 9:53 am    Post subject: cronjob Reply with quote

i have installed directadmin on my server and set cronjobs likt this:

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

0 0 * * * /home/mydomain/cgi-bin;./cron_deleted_email.pl >/dev/null 2>&1

is it correct?or not?because it seems it's not working
Back to top
View user's profile Send private message
verzing



Joined: 02 Mar 2011
Posts: 125

PostPosted: Jan 19, 2012 10:10 am    Post subject: Reply with quote

I think it should be
Code:
0 * * * */home/youusername/public_html/cgi-bin;./cron.pl >/dev/null 2>&1
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1281

PostPosted: Jan 19, 2012 10:41 am    Post subject: Reply with quote

You should make sure that you're using correct path.
Back to top
View user's profile Send private message Send e-mail
fileup



Joined: 28 Nov 2011
Posts: 26

PostPosted: Jan 19, 2012 11:21 am    Post subject: Reply with quote

in my directadmin control panel here is where the cron.pl is located in:

http://www.mydomain.com:2222/CMD_FILE_MANAGER/domains/mydomain.com/public_html/cgi-bin/cron.pl

so what should i enter in cron tabs?please help me on this
Back to top
View user's profile Send private message
nyan



Joined: 28 Oct 2010
Posts: 121

PostPosted: Jan 20, 2012 8:32 pm    Post subject: Reply with quote

log in to the server via your root to see the full path (login with ssh details via winscp or filezilla or putty) with most control panels the http files are somewhere in /home/user/cgi-bin or /var/www/vhosts/domain/cgi-bin
Back to top
View user's profile Send private message
fileup



Joined: 28 Nov 2011
Posts: 26

PostPosted: Jan 20, 2012 8:37 pm    Post subject: Reply with quote

cd /home/user/domains/youredomain/public_html/cgi-bin;./cron.pl >/dev/null 2>&1

cd /home/user/domains/youredomain/public_html/cgi-bin;./cron_deleted_email.pl >/dev/null 2>&1
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