i backup full f oder i backup conf f
#FTP-Backup -> benoetigt [apt-get install ncftp]
FTPSERVER='IP Adresse der Platte '
FTPPORT='21'
FTPDIR='Ordner des Schreibortes'
FTPUSER='Benutzer'
FTPPASS='Passwort'
#IPC
0 3 * * 3 root /var/emu/script/ipc-backup.sh full f #Backup - Full (Dienstags um 03:00/ FTP)
0 4 * * 3 root /var/emu/script/ipc-backup.sh full l 30 #Backup - Full (Dienstags um 04:00/Lokal)
0 2 * * 3 root /var/emu/script/ipc-backup.sh conf f #Backup - Konfiguration (Dienstags um 02:00/FTP)
0 5 * * 3 root /var/emu/script/ipc-backup.sh conf l 30 #Backup - Konfiguration (Dienstags um 05:00/Lokal)
Oct 13 01:39:01 debian CRON[31642]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 02:09:01 debian CRON[11691]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 02:39:01 debian CRON[23555]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 03:09:01 debian CRON[2715]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 03:39:01 debian CRON[13977]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 04:09:01 debian CRON[24891]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 04:39:01 debian CRON[3216]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 05:09:01 debian CRON[13521]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 05:39:01 debian CRON[24055]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 06:09:01 debian CRON[1920]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 06:39:01 debian CRON[12167]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Oct 13 08:42:20 debian proftpd[25820]: debian - error: /var/log/proftpd is a world-writable directory
Oct 13 08:42:20 debian proftpd[25820]: debian (Saerdna-PC.fritz.box[192.168.1.34]) - error: /var/log/proftpd is a world-writable directory
Oct 13 08:42:20 debian proftpd[25820]: debian (Saerdna-PC.fritz.box[192.168.1.34]) - unable to open SystemLog '/var/log/proftpd/proftpd.log': /var/log/proftpd/proftpd.log is a world-writable directory
Oct 13 08:42:20 debian proftpd[25820]: debian (Saerdna-PC.fritz.box[192.168.1.34]) - FTP session opened.
Oct 13 08:42:20 debian proftpd[25820]: debian (Saerdna-PC.fritz.box[192.168.1.34]) - error: /var/log/proftpd is a world-writable directory
Oct 13 08:42:20 debian proftpd[25820]: debian (Saerdna-PC.fritz.box[192.168.1.34]) - unable to open TransferLog '/var/log/proftpd/xferlog': Datei oder Verzeichnis nicht gefunden
...da scheint doch schon ein Knackpunkt zu sein...error: /var/log/proftpd is a world-writable directory
chmod -R 644 /var/log/proftpd
chown -R 644 /var/log/proftpd
Oct 13 12:24:52 debian cron[408]: Error: bad username; while reading /etc/crontab
Oct 13 12:24:52 debian cron[408]: (*system*) ERROR (Syntax error, this crontab file will be ignored)
deutet auf einen syntaxfehler im crontab,... bitte mal in code-tag postenERROR (Syntax error, this crontab file will be ignored)
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
# * * * * * Benutzer Befehl
# | | | | |
# | | | | +---- Wochentag (0-7) (Sonntag =0 oder =7)
# | | | +------ Monat (1-12)
# | | +-------- Tag (1-31)
# | +---------- Stunde (0-23)
# +------------ Minute (0-59)
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#Zeitabgleich -> benoetigt [apt-get install ntpdate]
0 8 * * * root ntpdate -s pool.ntp.org #Zeitabgleich (Taeglich um 08:00 Uhr)
#Auth.Log Dienstags um 1:00 löschen
0 1 * * 3 rm /var/log/auth.log && touch /var/log/auth.log
#IPC
0 13 * * 3 root /var/emu/script/ipc-backup.sh full f #Backup - Full (Dienstags um 13:00/ FTP)
#0 4 * * 3 root /var/emu/script/ipc-backup.sh full l 30 #Backup - Full (Dienstags um 04:00/Lokal)
15 13 * * 3 root /var/emu/script/ipc-backup.sh conf f #Backup - Konfiguration (Dienstags um 13:15/FTP)
#0 5 * * 3 root /var/emu/script/ipc-backup.sh conf l 30 #Backup - Konfiguration (Dienstags um 05:00/Lokal)
#0 6 * * * root /var/emu/script/ipc-set.sh #Rechte setzen (Taeglich um 06:00)
#CCcam
#* * * * * root /var/emu/script/cccam-watchdog.sh #CCcam - Teste ob CCcam laeuft (jede Minute)
#30 4 * * * root /var/emu/script/cccam restart #CCcam - EMU Neustart (Taeglich um 04:30)
#0 5 * * * root /var/emu/script/cccam-cfgnl.sh #CCcam - Lade neue Konfiguration (Taeglich um 05:00)
#01 5 * * * root /bin/cccam softkey && /bin/cccam restart #CCcam EMU Keys updaten+restart (Taeglich um 05:01)
#CCcamInfoPHP (Update,Ping,Online)
#*/2 * * * * www-data wget -q --spider http://localhost/ipc/infophp/cron_update.php?p=0 #CCcamInfoPHP - Update alle 2 Minuten
#58 * * * * www-data wget -q --spider http://localhost/ipc/infophp/cron_ping.php?p=0 #CCcamInfoPHP - PING jede Stunde
#59 * * * * www-data wget -q --spider http://localhost/ipc/infophp/cron_online.php?p=0 #CCcamInfoPHP - Online jede Stunde
#OScam
* * * * * root /var/emu/script/oscam-watchdog.sh #OScam - Teste ob OScam laeuft (jede Minute)
#29 4 * * * root /var/emu/script/oscam restart #OScam - EMU Neustart (Taeglich um 04:29)
#NewCS
#* * * * * root /var/emu/script/newcs-watchdog.sh #NewCS - Teste ob NewCS laeuft (jede Minute)
#Camd3
#* * * * * root /var/emu/script/camd3-watchdog.sh #Teste ob Camd3 laeuft (jede Minute)
#01 5 * * * root /bin/camd3 softkey && /bin/camd3 restart #Camd3 EMU Keys updaten+restart (Taeglich um 05:01)
#sBox
#* * * * * root /var/emu/script/sbox-watchdog.sh #Teste ob sBox laeuft (jede Minute)
#DynDNS Static Update -> benoetigt [apt-get install ddclient]
#6 6 * * 1 root /usr/sbin/ddclient -force > /var/log/ipc/dyndns_update.log #Static DynDNS Update (Woechentlich um 06:06, Montag)
#DDNSupdater.sh
#@reboot root /var/emu/script/DDNSupdater.sh auto #DDNSupdater.sh bei System boot/reboot starten
#0 6 * * 1 root /var/emu/script/DDNSupdater.sh now #DDNSupdater.sh Static-IP Update erzwingen (Woechentlich um 06:00,Montag)
#DDNSupdater2.sh
#@reboot root /var/emu/script/DDNSupdater2.sh auto #DDNSupdater2.sh bei System boot/reboot starten
#0 6 * * 1 root /var/emu/script/DDNSupdater2.sh now #DDNSupdater2.sh Static-IP Update erzwingen (Woechentlich um 06:00, Montag)
#apache2
@reboot root /var/emu/script/apache2-watchdog.sh >/dev/null 2>&1
* * * * * root /var/emu/script/apache2-watchdog.sh >/dev/null 2>&1
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?