Files
api/services/backup/backup.sh
T
Jepp9350 ca52d3b248 Update API endpoints, add wash certificate handling
Replaced legacy 'nnks.truckwash.dk' endpoint with 'api.truckwash.dk' across the codebase for consistency. Implemented a feature to handle certificate downloads, including file serving and validation. Updated PHP configuration to support additional dependencies like PHPMailer, and introduced necessary route and configuration changes for wash certificate processing.
2025-01-31 09:25:18 +01:00

8 lines
323 B
Bash

# Show the script is running
#echo "Backup script started at $(date)"
#echo "Auth key: $auth_key"
# Curl the backup script
# shellcheck disable=SC2154
curl -s "https://api.truckwash.dk/?internalCronCall=true&script=run&action=cron&auth_key=$auth_key"
# Show the script has finished
#echo "Backup script finished at $(date)"