20/05/2024 - 22h00

master
cherif 2024-05-20 21:28:52 +02:00
parent 94408efd1c
commit 78561a690f
4 changed files with 1931 additions and 15 deletions

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="19/05/2024 - 22h15"> <list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="20/05/2024 - 14h00">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" /> <change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/class_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/class_mgt.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/note_evaluation_mgt.py" beforeDir="false" afterPath="$PROJECT_DIR$/note_evaluation_mgt.py" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -75,13 +75,6 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1680804787304</updated> <updated>1680804787304</updated>
</task> </task>
<task id="LOCAL-00258" summary="06/04/2024 - 21h19">
<created>1712431177613</created>
<option name="number" value="00258" />
<option name="presentableId" value="LOCAL-00258" />
<option name="project" value="LOCAL" />
<updated>1712431177614</updated>
</task>
<task id="LOCAL-00259" summary="07/04/2024 - 13h19"> <task id="LOCAL-00259" summary="07/04/2024 - 13h19">
<created>1712487406647</created> <created>1712487406647</created>
<option name="number" value="00259" /> <option name="number" value="00259" />
@ -418,7 +411,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1716149736394</updated> <updated>1716149736394</updated>
</task> </task>
<option name="localTasksCounter" value="307" /> <task id="LOCAL-00307" summary="20/05/2024 - 14h00">
<created>1716206194944</created>
<option name="number" value="00307" />
<option name="presentableId" value="LOCAL-00307" />
<option name="project" value="LOCAL" />
<updated>1716206194944</updated>
</task>
<option name="localTasksCounter" value="308" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
@ -460,7 +460,6 @@
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="02/05/2024 - 22h" />
<MESSAGE value="sss" /> <MESSAGE value="sss" />
<MESSAGE value="vvvv" /> <MESSAGE value="vvvv" />
<MESSAGE value="04/05/2024 - 20h30" /> <MESSAGE value="04/05/2024 - 20h30" />
@ -485,6 +484,7 @@
<MESSAGE value="sdf" /> <MESSAGE value="sdf" />
<MESSAGE value="18/05/2024 - 22h30" /> <MESSAGE value="18/05/2024 - 22h30" />
<MESSAGE value="19/05/2024 - 22h15" /> <MESSAGE value="19/05/2024 - 22h15" />
<option name="LAST_COMMIT_MESSAGE" value="19/05/2024 - 22h15" /> <MESSAGE value="20/05/2024 - 14h00" />
<option name="LAST_COMMIT_MESSAGE" value="20/05/2024 - 14h00" />
</component> </component>
</project> </project>

File diff suppressed because it is too large Load Diff

View File

@ -5674,7 +5674,13 @@ def Add_Update_UE_To_Class(diction):
""" """
is_ue_id_existe_class = 0 is_ue_id_existe_class = 0
if( "list_unite_enseignement" in is_class_exist_data.keys()): if( "list_unite_enseignement" in is_class_exist_data.keys()):
is_ue_id_existe_class = MYSY_GV.dbname['myclass'].count_documents({'list_unite_enseignement._id':str(diction['ue_id'])}) is_ue_id_existe_class = MYSY_GV.dbname['myclass'].count_documents({'list_unite_enseignement._id':str(diction['ue_id']),
'_id': ObjectId(str(diction['class_id'])),
'partner_owner_recid': my_partner[
'recid'],
'valide': '1',
'locked': '0',
})

View File

@ -9599,7 +9599,10 @@ if __name__ == '__main__':
scheduler = BackgroundScheduler() scheduler = BackgroundScheduler()
# Create the job # Create the job
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=50)
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", hours=22)
scheduler.add_job(func=Internal_Global_MySy_Cron_Traitement, trigger="interval", hours=22)
# Start the scheduler # Start the scheduler
scheduler.start() scheduler.start()
@ -9619,7 +9622,9 @@ if __name__ == '__main__':
scheduler = BackgroundScheduler() scheduler = BackgroundScheduler()
# Create the job # Create the job
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=50) #scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", minutes=50)
scheduler.add_job(func=Flask_Cron_Strip_Get_Customer_Abonnement_Data, trigger="interval", hours=22)
scheduler.add_job(func=Internal_Global_MySy_Cron_Traitement, trigger="interval", hours=22)
# Start the scheduler # Start the scheduler
scheduler.start() scheduler.start()