group as cron
[auf_rh_dae.git] / project / rh / management / commands / rh.py
index 47e708d..977359c 100644 (file)
@@ -42,6 +42,10 @@ class Command(BaseCommand):
 
     def handle(self, *args, **options):
 
+        if args[0] == "cron":
+            flag_vacant()            
+            flag_nb_postes()            
+
         if args[0] == "vacant":
             flag_vacant()            
             self.stdout.write("Flag vacant mis à jour\n")