Aller au contenu

Crontab @rebbot

Featured Replies

Posté(e)

Bonjour 

 

Savez-vous comment faire exécuter une tâche au démarrage du NAS ? L'équivalent d'un @reboot dans la crontab Linux?

Recherche vaine et essai direct dans /etc/crontab infructueux (de plus ligne effacée même avec user =root)

Merci d'avance

Cordialement

 

Posté(e)

Réponse extraite d'une doc Syno:

If you would like to run an application when the system boots up, you
have to write a startup script and put it in
/usr/local/etc/rc.d/. Following are some rules for the startup script:

1.  It must have the suffix “.sh”. For example, “myprog.sh”.
2.  The permission must be 755.
3.  It must have the options “start” and “stop”. When the system boots
up, it will call “myprog.sh start”; when it shuts down, it will call
“myprog.sh stop”.  

 

Posté(e)
  • Auteur

Merci pour la réponse rapide.

où peut-on trouver la doc syno en référence ? 

Bonsoir

 

 

Posté(e)

où peut-on trouver la doc syno en référence ? 

Ici, sur le site Syno, "guide des développeurs tiers" ("3rd-Party Package Developer Guide"), page 59 

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é
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Qui est en ligne (Afficher la liste complète)

  • Il n’y a aucun utilisateur enregistré actuellement en ligne

Account

Navigation

Rechercher

Rechercher

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.