Project

General

Profile

Tâche #33087

Scénario #33135: Eole-schedule envoie systématiquement des mails

manage_schedule devrait ignorer les fichiers *~

Added by Joël Cuissinat about 1 year ago. Updated 12 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/06/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Le coup classique avec vim...

root@scribe:~# manage_schedule --apply
Traceback (most recent call last):
  File "/usr/share/eole/sbin/manage_schedule", line 90, in <module>
    main()
  File "/usr/share/eole/sbin/manage_schedule", line 87, in main
    apply_schedules()
  File "/usr/lib/python3/dist-packages/pyeole/schedule.py", line 68, in apply_schedules
    del_schedule(day, mode, old_filename)
  File "/usr/lib/python3/dist-packages/pyeole/schedule.py", line 53, in del_schedule
    raise Exception('unable to find schedule script {0}'.format(orig))
Exception: unable to find schedule script /usr/share/eole/schedule/scripts/eolead~

(suite à l'édition de /usr/share/eole/schedule/daily/post/eolead)


Related issues

Related to Distribution EOLE - Tâche #34491: [2.8.1] manage_schedule -d once -s <script> sort une exception Fermé 08/12/2022

Associated revisions

Revision 0d83b834 (diff)
Added by Emmanuel GARETTE 12 months ago

ne pas supprimer des fichiers qui ne serait pas des liens symboliques (ref #33087)

Revision 61afbab8 (diff)
Added by Emmanuel GARETTE 12 months ago

schedule once : ne pas exécuter les scripts finissants par ~ (ref #33087)

History

#1 Updated by Joël Cuissinat about 1 year ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat about 1 year ago

  • Description updated (diff)

#3 Updated by Joël Cuissinat about 1 year ago

  • Parent task set to #33135

#4 Updated by Emmanuel GARETTE 12 months ago

  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

#5 Updated by Emmanuel GARETTE 12 months ago

  • Status changed from Nouveau to À valider

#6 Updated by Matthieu Lamalle 12 months ago

  • Status changed from À valider to Résolu

#7 Updated by Joël Cuissinat 12 months ago

python-pyeole$ git branch -r --contains 0d83b834
  origin/HEAD -> origin/master
  origin/dist/eole/2.8.1/master
  origin/master

#8 Updated by Joël Cuissinat 12 months ago

root@scribe:~# manage_schedule --apply
Le fichier /usr/share/eole/schedule/daily/post/eolead~ n'est pas un lien symbolique

#9 Updated by Joël Cuissinat 12 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

#10 Updated by Joël Cuissinat about 2 months ago

  • Related to Tâche #34491: [2.8.1] manage_schedule -d once -s <script> sort une exception added

Also available in: Atom PDF