Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Afraid DNS 5 Accounts frei vom Receiver oder Server aktuallisieren lassen

    Nobody is reading this thread right now.
@Osprey : nein war es nicht aber ich hab das jetzt mal deaktiviert.
...wenn ich /etc/crontab eingebe dann starte ich es ja einmalig manuell und müsst es immer wieder ausführen oder ?
Eigentlich sollte der daemon doch das machen ….?!

@axel: hier die Ausgabe

root@debian ~ > ls -lisa /etc/crontab
1309 8 -rwsrwsrwt 1 root root 4464 Feb 2 14:55 /etc/crontab
 
Nochmal hinterher:

/etc/init.d/cron restart

Gruß

Gesendet von meinem Xiaomi POCOPHONE F1 mit Tapatalk
 
@axel: Hab ich eben gemacht leider ohne Veränderung auch nach 5 min keine Änderung bzw. EIntrag bzw. in der Log Datei...,,
root@debian ~ > /etc/init.d/cron restart
[....] Restarting periodic command scheduler: cron[....] Stopping periodic comma[ ok heduler: cron.
[ ok ] Starting periodic command scheduler: cron.
 
Sieht alles korrekt aus.

Poste mal die komplette Crontab.

cat /etc/crontab

Gruß

Gesendet von meinem Xiaomi POCOPHONE F1 mit Tapatalk
 
hier mal die Datei, liegt im Verzeichnis /etc

# /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)
#IPC
#0 4 * * 5 root /var/emu/script/ipc-backup.sh full l 30 #Backup - Full (Woechentlich um 04:00, Freitag)
#0 2 * * * root /var/emu/script/ipc-backup.sh conf l 14 #Backup - Konfiguration (Taeglich um 02:00)
#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 #CCcamInfoPHP - Update alle 2 Minuten
#58 * * * * www-data wget -q --spider #CCcamInfoPHP - PING jede Stunde
#59 * * * * www-data wget -q --spider #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)
#OSEmu
* * * * * root /var/emu/script/osemu-watchdog.sh #Teste ob OSEmu laeuft (jede Minute)
#29 4 * * * root /var/emu/script/osemu restart #OSEmu - 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)
#gbox
#* * * * * root /var/emu/script/gbox-watchdog.sh #Teste ob gbox 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
#Auf Updates fuer IPC pruefen
0 20 * * * root php /var/www/ipc/page/update-check.php >/dev/null 2>&1 #Update-Check (Taeglich um 20:00)
#DYNDNS AFRAID
1,6,11,16,21,26,31,36,41,46,51,56 * * * * root sleep 41 ; wget -O - >> /etc/logcrone/freedns-sagined.log 2>&1 &
#AFRAIDLOGIN
#1 * 23 * * /usr/bin/FreeDNS.pl benutzer passwort >> /etc/logcrone/FreeDNS-Accounts.log
#LOGCRONE
#30 22 * * * /usr/scripts/mysql_backup.sh &> /etc/logcrone/mysql_backup.log
 
Hi,

bist Du 100% sicher, das die Zeile stimmt

1,6,11,16,21,26,31,36,41,46,51,56 * * * * root sleep 41 ; wget -O - >> /etc/logcrone/freedns-sagined.log 2>&1 &

?

Wenn es manuell funktioniert, fällt mir im Moment auch nichts dazu ein.

Gruß

Gesendet von meinem Xiaomi POCOPHONE F1 mit Tapatalk
 
HI,
aus Ubuntu-Wiki

...Ähnlich wie die muss die crontab mit einer Leerzeile enden!
Bitte das mal kontrollieren!
Die "crontab" sollte mit einer Leerzeile enden!
 
@janni1
hab ich soeben erneut überprüft, war bzw. ist bereits vorhanden... hab jetzt mal zwei Leerzeilen eingelegt....leider ohne Erfolg...danke trotzdem

hier mal die Datei /etc/init.d/cron

sieht die bei euch auch so aus ?
PS. habe sie nicht verändert.

#!/bin/sh
# Start/stop the cron daemon.
#
### BEGIN INIT INFO
# Provides: cron
# Required-Start: $remote_fs $syslog $time
# Required-Stop: $remote_fs $syslog $time
# Should-Start: $network $named slapd autofs ypbind nscd nslcd
# Should-Stop: $network $named slapd autofs ypbind nscd nslcd
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Regular background program processing daemon
# Description: cron is a standard UNIX program that runs user-specified
# programs at periodic scheduled times. vixie cron adds a
# number of features to the basic UNIX cron, including better
# security and more powerful configuration options.
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin
DESC="cron daemon"
NAME=cron
DAEMON=/usr/sbin/cron
PIDFILE=/var/run/crond.pid
SCRIPTNAME=/etc/init.d/"$NAME"
test -f $DAEMON || exit 0
. /lib/lsb/init-functions
[ -r /etc/default/cron ] && . /etc/default/cron
# Read the system's locale and set cron's locale. This is only used for
# setting the charset of mails generated by cron. To provide locale
# information to tasks running under cron, see /etc/pam.d/cron.
#
# We read /etc/environment, but warn about locale information in
# there because it should be in /etc/default/locale.
parse_environment ()
{
for ENV_FILE in /etc/environment /etc/default/locale; do
[ -r "$ENV_FILE" ] || continue
[ -s "$ENV_FILE" ] || continue
for var in LANG LANGUAGE LC_ALL LC_CTYPE; do
value=`egrep "^${var}=" "$ENV_FILE" | tail -n1 | cut -d= -f2`
[ -n "$value" ] && eval export $var=$value
if [ -n "$value" ] && [ "$ENV_FILE" = /etc/environment ]; then
log_warning_msg "/etc/environment has been deprecated for locale information; use /etc/default/locale for $var=$value instead"
fi
done
done
# Get the timezone set.
if [ -z "$TZ" -a -e /etc/timezone ]; then
TZ=`cat /etc/timezone`
fi
}
# Parse the system's environment
if [ "$READ_ENV" = "yes" ] ; then
parse_environment
fi

case "$1" in
start) log_daemon_msg "Starting periodic command scheduler" "cron"
start_daemon -p $PIDFILE $DAEMON $EXTRA_OPTS
log_end_msg $?
;;
stop) log_daemon_msg "Stopping periodic command scheduler" "cron"
killproc -p $PIDFILE $DAEMON
RETVAL=$?
[ $RETVAL -eq 0 ] && [ -e "$PIDFILE" ] && rm -f $PIDFILE
log_end_msg $RETVAL
;;
restart) log_daemon_msg "Restarting periodic command scheduler" "cron"
$0 stop
$0 start
;;
reload|force-reload) log_daemon_msg "Reloading configuration files for periodic command scheduler" "cron"
# cron reloads automatically
log_end_msg 0
;;
status)
status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
;;
*) log_action_msg "Usage: /etc/init.d/cron {start|stop|status|restart|reload|force-reload}"
exit 2
;;
esac
exit 0
 
Hi,
was bringt bei dir ein:
cat /var/log/syslog | grep CRON

Lädst du den Cron neu nach jeder Änderung mit
service cron reload
?
 
Zuletzt bearbeitet:
@janni1
ja lade ich immer neu den cron mit /etc/init.d/cron reload
hier der Output dazu :

root@debian ~ > cat /var/log/syslog |grep CRON
Feb 2 08:22:54 debian /usr/sbin/cron[2203]: (CRON) INFO (pidfile fd = 3)
Feb 2 08:22:54 debian /usr/sbin/cron[2204]: (CRON) STARTUP (fork ok)
Feb 2 08:22:54 debian /usr/sbin/cron[2204]: (CRON) INFO (Running @reboot jobs)
Feb 2 08:39:02 debian /USR/SBIN/CRON[4573]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 2 09:09:01 debian /USR/SBIN/CRON[6722]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 2 09:39:01 debian /USR/SBIN/CRON[8669]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 2 10:09:01 debian /USR/SBIN/CRON[10562]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Feb 2 10:39:01 debian /USR/SBIN/CRON[13477]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
 
Zuletzt bearbeitet:
Hi
falls du IPC drauf hast, könntest du mit "i jobs" deine crontab noch einmal kontrollieren und
mit "i task" mal schauen was läuft?

Hast du evtl einen Emu gestopt und in der IPC config angegeben, dass Cron dabei deaktiviert werden soll?
Cron-Steuerung:

-> Wenn aktiviert, wird beim stoppen eines EMUs der Cron Service beendet. -> Hilfreich bei Wartungsarbeiten, so das nicht der Watchdog den Emu wieder automatisch startet.
 
@janni:
hab ich drauf.
HIer mal der output von i task
IPC 11.6: Tasks - laufende EMUs 02.02.2019 16:39
===============================================================================
2686 ? Ss 0:00 /var/emu/oscam/oscam.x86 -b -c /var/etc -t /tmp/.oscam
2689 ? Sl 169:54 /var/emu/oscam/oscam.x86 -b -c /var/etc -t /tmp/.oscam
2692 ? Sl 20:31 /var/emu/newcs/newcs.i686 -c /var/etc/newcs.xml
2702 ? Ss 0:00 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2703 ? S 0:58 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2704 ? S 1:02 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2728 ? S 0:02 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2731 ? S 0:00 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2752 ? S 0:00 /var/emu/camd3/camd3.x86 /var/etc/camd3.config
2705 ? Ssl 0:08 /var/emu/sbox/sbox.x86 -c /var/etc/
2713 ? Ssl 0:29 /var/emu/cccam/CCcam.x86 -v -t
2714 ? S 0:00 /var/emu/osemu/osemu.x86 -a emu emu -p 54321 -c /var/etc -l /var/log/ipc/OS Emu.log -v
-------------------------------------------------------------------------------

wie sollte denn der Befhel in IPC config aussehen um den zu stoppen ?
 
Hi,
ich glaub das ging in der .cfg einzustellen mit
i cfg.
Falls du das aus machst, werden aber angehaltenen cams vom Watchdog immer wieder neu gestartet.
 
@janni1
ich trag das jetz mal so ein und setze davor eine #
#Cron-Steuerung bei EMU stop/start? (0/1)
#CRON='1'

ok ?

nur nocheinmal der Form halber , muss bei den * nicht eine Zahl stehen ??!? ich ha jetzt 4 sterne
Code:
#DYNDNS AFRAID
1,6,11,16,21,26,31,36,41,46,51,56 * * * * root sleep 41 ; wget -O - http://freedns.afraid.org/dynamic/update.php?xxxxxxxxxxx >> /etc/logcrone/freedns-sagined.log 2>&1 &
 
Nein nicht die 4 * entfernen. Bist du so vorgegangen wie im Post 1? Auf der Freedns Website den Crontab mit copy + paste eingefügt?
 
Zurück
Oben