To handle the specific error message output when running
cf-dyndns.sh, we need to:
1. Check if the output contains the string "STATUS:NO_CHANGE", which indicates a failure with no change.
Here's an updated task in the script that includes this check:
``
bash
command: ['cf', 'dysncs', '-f', '/path/your/executable/hermes/cf-dyndns.sh', '--help']
options:
-c, --check-status NOISE: If a successful update occurs, it triggers an error when another version is updated
1. Send no reply if this condition is met.
return_code: 100
- echo "DynDNS Update: SUCCESS" | send_message "$(curl -s -X GET 'https://api.telegram.org/bot$TELEGRAM_TOKEN/sendMessage' -H 'Content-Type: application/json')"
2. If the output shows a failure with no change ("STATUS:NO_CHANGE"), issue an update message:
`
This script uses send_message` to report any DynDNS failures and updates, which should help you track issues more effectively.