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.
8 lines
323 B
Bash
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)" |