Retourner au contenu associé (entrée de forum : crontab mal formée, mais ou ?)
Posté par NeoX le 26 août 2008 à 00:55. En réponse au message crontab mal formée, mais ou ?. Évalué à 2.
# Lancement checkup 23 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/checkup.start.sh # Lancement proxy 24 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/proxy.start.sh # Lancement active 29 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/active.start.sh # Stopper le service active 00 20 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/active.stop.sh # Stopper le proxy 13 20 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/proxy.stop.sh # Arret checkup 30 21 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/checkup.stop.sh
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# je vois un souci, mais pas avec cron
Posté par NeoX . En réponse au message crontab mal formée, mais ou ?. Évalué à 2.
start :
---checkup
---proxy
---active
stop :
---proxy
---active
---checkup
faut esperer que l'arret du proxy avant active ne te bloque pas les connexions trop tot et laisserait des connexions en attente...
perso je ferais :
# Lancement checkup
23 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/checkup.start.sh
# Lancement proxy
24 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/proxy.start.sh
# Lancement active
29 06 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/active.start.sh
# Stopper le service active
00 20 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/active.stop.sh
# Stopper le proxy
13 20 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/proxy.stop.sh
# Arret checkup
30 21 * * 1,2,3,4,5 /opt/data/mark1_prd/bin/shortcuts/mark/checkup.stop.sh