This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Cron Job läuft nicht!

German community

Moderators: b0ssman, apollo567, Princo, crowi

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
bcs-luggi
NewUser
NewUser
Posts: 13
Joined: 03 Aug 2012 10:08
Status: Offline

Cron Job läuft nicht!

Post by bcs-luggi »

Servus Zusammen,

ich habe folgenden Cron-Job erstellt:
nas4free.png
Der läuft aber ncht an.
Am Befehl kann es nicht liegen, wenn ich auf "Jetzt ausführen" klicke geht alles ganz normal.

Danke für jeden Tip.
Bert
You do not have the required permissions to view the files attached to this post.
nas4freee 9.1.0.1 (847) on HP-Proliant NL40
4 x 1 TB WD1502FYPS (zfs/raidz1)
2 x 3 TB USB (backup)

drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

Re: Cron Job läuft nicht!

Post by drnicolas »

Hast Du eine lÖsung ?

Ich habe 3 Jobs, die alle manuell laufen, nicht aber zeitgesteuert.

ps ax zeigt mir, dass cron wohl läuft. Hinterlässt denn cron Spuren im Log?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

User avatar
shakky4711
Advanced User
Advanced User
Posts: 273
Joined: 25 Jun 2012 08:27
Status: Offline

Re: Cron Job läuft nicht!

Post by shakky4711 »

Hallo,

ich kann mich müde erinnern dass bei cron jobs der komplette Pfad zur shell notwendig ist.
Müsste eigentlich /bin/sh sein, habe aber gerade kein NAS4Free vor mir, schau mal wo genau die sh steckt.

Auch muss das Script natürlich ausführbar sein , "chmod 777 deinscript.sh"

Gruß
Shakky

Post Reply

Return to “Deutsch”