Current time: 04-24-2024, 03:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
cron.d problem (RC4 ->> RC5)
Author Message
gutek Offline
Junior Member
*

Posts: 11
Joined: May 2008
Reputation: 0
Post: #1
cron.d problem (RC4 ->> RC5)
Hello,
i have big problem with rc4 to rc.5 ugrade. First there was a problem with mail relay, but i solved it. Now i have found out new problems:
- quota check
- awstats (static page)


After a little search i have found where is the problem: /etc/cron.d/ispcp
Code:
cat /etc/cron.d/ispcp

# delayed tasks START.

# Quota
@daily root {QUOTA_ROOT_DIR}/ispcp-dsk-quota &>{LOG_DIR}/ispcp-dsk-quota.log

# Traffic
0,30    *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log
0,30    *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log
15,45   *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log

# customer logs
@daily root {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log

# Backup
@daily root {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log
@daily root {BACKUP_ROOT_DIR}/ispcp-backup-ispcp noreport &>{LOG_DIR}/ispcp-backup-ispcp-mngr.log

# Remove config backups older than seven days
@daily root find {CONF_DIR}/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm

# Remove Daemon Logs older than 14 days (except .gz files)
@daily root find {LOG_DIR}/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm

# AWStats
{AW-ENABLED}15  */6     *       *       *       root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl >/dev/null 2>&1

# Rootkit Hunter
{RK-ENABLED}0   */12    *       *       *       root {RKHUNTER} --scan-knownbad-files --check-deleted --cronjob --createlogfile {RKHUNTER_LOG} >/dev/null 2>&1

# Chkrootkit
{CR-ENABLED}0   */12    *       *       *       root {CHKROOTKIT} &> {CHKROOTKIT_LOG}

# Look for and purge old sessions every 30 minutes
0,30 *     * * *     root   {TOOLS_ROOT_DIR}/ispcpphptemp.sh >/dev/null 2>&1

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.

# [{DMN_NAME}]:{CRONJOB_ID} custom task START.
# [{DMN_NAME}]:{CRONJOB_ID} custom task END.

# [XXXX.net] AWStats static tasks START.
1 3  * * *   root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=XXXXX.net -update -lang=pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/XXXXXXX.net/statistics/ >/dev/null 2>&1
# [XXXXXXX.net] AWStats static tasks END.
# [XXXXX.info] AWStats static tasks START.
2 3  * * *   root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=XXXXX.info -update -lang=pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/XXXX.pl/statistics/ >/dev/null 2>&1
# [XXXXX.info] AWStats static tasks END.
# [{DMN_NAME}] AWStats static tasks START.
# [{DMN_NAME}] AWStats static tasks END.

# delayed tasks END.


Does smb else has same problem??
(This post was last modified: 06-24-2008 02:39 AM by gutek.)
06-24-2008 02:35 AM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #2
RE: cron.d problem (RC4 ->> RC5)
You have not searched the forum and you have not read the FAQ!
06-24-2008 03:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)