#1  
Old 27th July 2006, 06:54
punto punto is offline
Member
 
Join Date: Jul 2006
Posts: 84
Thanks: 12
Thanked 2 Times in 1 Post
Default Nothing in crontab

I just installed ISPconfig onto Centos 4.3. I followed the perfect setup and then ran the script with no errors.
I can login to https://mydomain.com:81 and manage the CP, but there are no entries in my crontab file; crontab -e shows an empty file.
I know I can add the entries manually but was wondering if this points to other issue that may be present and why it may have happened?

Thanks in advance

Matt
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2006, 08:05
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default

Did you do crontab -e with normal user or admin user? Normal user should be empty.. Admin's crontab should contain a few lines of ISPC stuff..
Reply With Quote
  #3  
Old 27th July 2006, 08:05
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

what's in
PHP Code:
ls -/var/spool/cron
or

PHP Code:
cat /etc/crontab 
Reply With Quote
  #4  
Old 27th July 2006, 13:24
punto punto is offline
Member
 
Join Date: Jul 2006
Posts: 84
Thanks: 12
Thanked 2 Times in 1 Post
Default

Thankyou for the replies.

Yes crontab -e was run as root.

Output of ls -l /var/spool/cron

[root@hosting ~]# ls -l /var/spool/cron/
total 0
-rw------- 1 root root 0 Jul 27 14:34 root


Output of cat /etc/crontab

[root@hosting ~]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

Thanks

Matt
Reply With Quote
  #5  
Old 28th July 2006, 11:44
swpr swpr is offline
Junior Member
 
Join Date: Jul 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nothing in crontab

I have the same issue - ISPConfig 2.2.5 on Fedora Core 5.
Any suggestions as to why this is not set up?

Should I just add the following to /etc/crontab or is there a better way to set it up?

30 0 * * * /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
00 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


and are the following required?

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
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
Reply With Quote
  #6  
Old 28th July 2006, 12:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by punto
I just installed ISPconfig onto Centos 4.3. I followed the perfect setup and then ran the script with no errors.
I can login to https://mydomain.com:81 and manage the CP, but there are no entries in my crontab file; crontab -e shows an empty file.
I know I can add the entries manually but was wondering if this points to other issue that may be present and why it may have happened?

Thanks in advance

Matt
Log in as root and run
Code:
which crontab
What's the output? Also make sure you disabled SELinux when you installed your system.

Anyway, you can run crontab -e and put in these cron jobs:
Code:
30 0 * * * /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
00 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
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
__________________
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
  #7  
Old 30th July 2006, 04:27
punto punto is offline
Member
 
Join Date: Jul 2006
Posts: 84
Thanks: 12
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
Log in as root and run
Code:
which crontab
What's the output? Also make sure you disabled SELinux when you installed your system.
I re-installed base OS and ISPconfig again (wanted to change partitioning structure), still nothing in crontab.

SELinux is disabled.

which crontab yields /usr/bin/crontab

I did notice this line at end of installation:

Connected successfully to MySQL server
no crontab for root


??

I can just add the cron jobs as you suggest, but do you think this points to other issues?

Regards

Matt
Reply With Quote
  #8  
Old 31st July 2006, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by punto
I can just add the cron jobs as you suggest
Yes, it doesn't cause problems on your system.
I will check the crontab issue soon.
__________________
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
  #9  
Old 1st August 2006, 00:01
punto punto is offline
Member
 
Join Date: Jul 2006
Posts: 84
Thanks: 12
Thanked 2 Times in 1 Post
 
Thumbs up

Quote:
Originally Posted by falko
Yes, it doesn't cause problems on your system.
I will check the crontab issue soon.
No problem, thanks for you help
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
crontab entries... zokahn General 2 23rd April 2006 10:55
How to disable the shell cron jobs? raymov General 3 1st November 2005 04:43
Crontab Joe-Montana HOWTO-Related Questions 2 23rd October 2005 23:54


All times are GMT +2. The time now is 21:33.


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