Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st October 2005, 09:12
raymov raymov is offline
Junior Member
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to disable the shell cron jobs?

We are currently evaluating ISPConfig, but are not yet ready to go live on a production server. We stopped the services with:
/etc/rc.d/init.d/ispconfig_server stop
/etc/rc.d/init.d/ispconfig_tcpserver stop


However the scripts are still running, which is causing us the following grief:
1. mail_logs.php deleted our maillog
2. check_services.php reminds us every half an hour that httpd is not running.

According to Appendix 3 of the Admin manual, cron job scripts are located in the following directory:
/root/ispconfig/scripts/shell/

However the cron job does not appear in:
/etc/crontab or /etc/cron.daily/

Where can we terminate these "hidden cron jobs" from executing the shell scripts?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2005, 09:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by raymov
We are currently evaluating ISPConfig, but are not yet ready to go live on a production server. We stopped the services with:
/etc/rc.d/init.d/ispconfig_server stop
/etc/rc.d/init.d/ispconfig_tcpserver stop


However the scripts are still running, which is causing us the following grief:
1. mail_logs.php deleted our maillog
2. check_services.php reminds us every half an hour that httpd is not running.

According to Appendix 3 of the Admin manual, cron job scripts are located in the following directory:
/root/ispconfig/scripts/shell/

However the cron job does not appear in:
/etc/crontab or /etc/cron.daily/

Where can we terminate these "hidden cron jobs" from executing the shell scripts?

Thanks.
You can edit your cron jobs by running
Code:
crontab -e
as root.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st October 2005, 10:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Quote:
Originally Posted by raymov
1. mail_logs.php deleted our maillog
If you check the checkbox "Safe log" under Management > Server > Settings on the mail tab a copy of your maillog will be saved.
Reply With Quote
  #4  
Old 1st November 2005, 04:43
raymov raymov is offline
Junior Member
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for the replies,
The cron jobs now make sense:

Code:
crontab -l
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null

crontab -r

crontab -l
no crontab for root
It be great if the "Safe log" is enabled by default in future versions to be on the "safe side".
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS client update IP thru cron or other? domino Server Operation 5 18th August 2005 05:16


All times are GMT +2. The time now is 14:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.