cron arbeitet nach Routerstart nicht,nur nach Dienstneustart

Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen
Author Message
pc-nico
DD-WRT Novice


Joined: 15 May 2010
Posts: 15

PostPosted: Tue Aug 02, 2011 18:12    Post subject: cron arbeitet nach Routerstart nicht,nur nach Dienstneustart Reply with quote
Hallo Leute,

da mein Ursprünglicher Post inzwischen etwas unübersichtlich ist, mache ich nochmal einen neues Topic auf...

ich habe den Crondienst im WebInterface aktiviert und Jobs definiert....

Leider werden diese Jobs nicht ausgeführt... zum Test habe ich einen Job der einmal pro Minute das Datum in eine Datei schreibt...

Die Datei wird aber nicht beschrieben....

Start ich den Cron Dienst neu (stopservice cron && startservice cron) wird ab diesem Zeitpunkt zu jeder vollen Minute das Datum in die besagt Datei geschrieben.

Es genügt sogar wenn ich den Dienst nur starte, aber er läuft vorher:

root@gateway:~# ps -ef | grep cron
root 1798 1 0 21:20 ? 00:00:00 cron
root 4020 3577 0 21:33 pts/0 00:00:00 grep cron

So sieht es nach dem Start aus... der Dienst läuft, aber er arbeitet nicht

root@gateway:~# startservice cron
root@gateway:~# ps -ef | grep cron
root 4028 1 0 21:33 ? 00:00:00 cron
root 4030 3577 0 21:33 pts/0 00:00:00 grep cron

Nachdem ich den Dienst quasi nochmal gestartet habe, verschwindet der Dienst mit PID 1798 und ein neuer startet... Ab jetzt werden meine Jobs ausgeführt....

Auch ein Factory Reset hat nicht geholfen....

Kann mir da jemand helfen?


Hier mal meine Crontab:
00 1,13 * * * root /opt/nico/scripts/log_ip.sh
00 6,7,8,11 * * * root /opt/nico/scripts/vs_heute.sh
* * * * * root /opt/nico/scripts/log_ip.sh

Meine Version: DD-WRT v24-sp2 (06/14/11) big - build 17201
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Thu Aug 04, 2011 9:48    Post subject: Reply with quote
hmm...das koennte auch der ausloeser des nicht funktionierenden "scheduled reboot" problems sein, das ich sehe. also manchmal funktioniert es und manchmal nicht

das waer dann das ticket
http://svn.dd-wrt.com/ticket/1955

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum