Article ID: 2964, created on Oct 29, 2007, last review on Apr 17, 2012

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

View Knowledge 
 
Knowledge ID 2455
Product : Ensim Pro X for Linux
Version : 10.2.0
Topic : Notification
 
Title
000-delay causes cron-job runs for long time
 
Summary
000-delay causes cron-job runs for long time
 
Prevention
 
 
Details

Product: Ensim Pro X for Linux
Version: 10.2.0 (Fedora Core 6)
Date:  23-March-2007

Issue:

000-delay is cronjob introduced in FC6. The purpose is to delay cronjob processing by random amount to prevent high load on external servers that may be contacted by group of servers running cronjobs.

This job is fine for use at the top level system, but with Ensim Pro this job is propagated to every site and this causes cron.daily to run too long. In theory, the cron.daily could run longer than 24 hour cycle.

Procedure:

Step1:
Login as root user

Step2:
# rpm -q crontabs

If it shows crontabs-1.10-12.fc6 or higher version continue with step 3. if it does not go to step 5

Step3:
# cd /home/virtual/FILESYSTEMTEMPLATE/siteinfo/etc/cron.daily

Step4:
# edit 000-delay and write

#!/bin/bash
exit 0

Step5:
Edit /etc/virtualhosting/filelists/siteinfo.sh and search for line

S,rpm:crontabs

and replace it with:

S,rpm:crontabs !/etc/cron.daily/000-delay|/etc/cron.weekly/000-delay|/etc/cron.monthly/000-delay
 

 
 
   
 
Attachments
 
 
Related Knowledge
 
Related Links
 
Last ModifiedUsageSatisfiedLast Used
3/23/2007 6:51:04 AM57 10/10/2007 11:23:47 PM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF