Current time: 11-05-2024, 07:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
[ERLEDIGT] Cronjob frage...
Author Message
FraggDieb Offline
Member
***

Posts: 252
Joined: Feb 2008
Reputation: 0
Post: #1
[ERLEDIGT] Cronjob frage...
Also hab ne kleine Frage bezüglich Cronjobs

Die Cronjobs (munin, ispcp) müssen die in den Ordner
cron.d oder cron.daily

Dann sieht meine ispcp Crondatei nur so aus
Quote:# delayed tasks START.

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

# Traffic
0,30 * * * * root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30 * * * * root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45 * * * * root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/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

etc... also niergens stehn die Pfade sondenr nur diese Variablen... is das richtig?
(This post was last modified: 04-07-2008 04:13 PM by BeNe.)
04-05-2008 08:18 PM
Visit this user's website 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: Cronjob frage...
Crontabs wie die von ispCP müssen in cron.d. In cron.daily kommen Skripte die täglich ausgeführt werden sollen.
Quote:also niergens stehn die Pfade sondenr nur diese Variablen... is das richtig?
Erst die Suche benutzen, dann fragen. Wink
04-05-2008 08:34 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Cronjob frage...
naja, man kann ja sagen, dass es nicht richtig ist... Smile
04-05-2008 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #4
RE: Cronjob frage...
Ja, könnte man, aber nachdem ja schon fast täglich dannach gefragt wird...
ich werde da mal einen FAQ-Eintrag dazu schreiben.
04-05-2008 09:11 PM
Find all posts by this user Quote this message in a reply
FraggDieb Offline
Member
***

Posts: 252
Joined: Feb 2008
Reputation: 0
Post: #5
RE: Cronjob frage...
Ok vielen Dank wollte das mal wissen.. weil zb die munin stats nich aktualisiert werden ?!^^ bringt das was wenn ich die in daily reintuhe?

Naja hab nen altes Backup gefunden Wink
04-05-2008 09:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #6
RE: Cronjob frage...
Quote:ich werde da mal einen FAQ-Eintrag dazu schreiben.
Fertig: http://www.isp-control.net/documentation...don_t_work
04-05-2008 09:47 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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