1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 01:22:51 +02:00

Add notifications from Google Drive to automatically get updates from Google Sheets

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-04-06 21:55:46 +02:00
parent aac4fc59e6
commit c45071c038
6 changed files with 97 additions and 6 deletions

View File

@ -16,7 +16,10 @@
30 6 * * 1 cd /code && python manage.py remind_payments &> /dev/null
# Check notation sheets every 15 minutes from 08:00 to 23:00 on fridays to mondays in april and may
*/15 8-23 * 4-5 5,6,7,1 cd /code && python manage.py parse_notation_sheets -v 0
# */15 8-23 * 4-5 5,6,7,1 cd /code && python manage.py parse_notation_sheets -v 0
# Update Google Drive notifications daily
0 0 * * * cd /code && python manage.py renew_gdrive_notifications &> /dev/null
# Clean temporary files
30 * * * * rm -rf /tmp/*