Aller au contenu

Featured Replies

Posté(e)

Pourquoi est-ce que systématiquement le fichier /etc/cron modifié est écrasé pour revenir au fichier de base?

Posté(e)

Salut,

le cron natif de DSM est très bizarre (cf. par exemple http://forum.synology.com/enu/viewtopic.php?f=90&t=68438 "Synology cron is very fussy. The fields need to be separated by TABs otherwise they will be removed on next boot. The cron entry can only be a root job, so the sixth field must be root otherwise that line will be deleted on reboot, so ...
The script does some simple tests to confirm that the fields are separated with TABs and the sixth field is root. If acceptable the old version is saved as /etc/crontab.old. Otherwise the failed version is saved as /etc/crontab.chk. If it is acceptable then crond is restarted to activate the new file.").

De mon côté, je me suis rabattu sur le cron "standard" que tu peux installer via ipkg et cela fonctionne parfaitement. Il faut juste ajouter une ligne /opt/etc/init.d/S10cron dans /etc/rc.local).

bonne journée,

Eric

Posté(e)

Y'a un planificateur de tache dans DSM, qui utilise le cron ...

Posté(e)
  • Auteur

Y'a un planificateur de tache dans DSM

Merci je vais essayer ça

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.