scripts nor working in crontab
Server: Red Hat Enterprise Linux Server release 7.4
My script contains only:
curl -u admin:123!@ -X POST http://localhost:4502/system/console/jmx/com.adobe.granite:type=Repository/op/startBackup/java.lang.String?target=/opt/prod_auth_backup/
Crontab entry:
30 14 * * * /bin/bash /opt/scripts/backup_author.sh
I can manually run the script but its not working in crontab.I already tried couple of things from below URLs but did not help.
https://access.redhat.com/discussions/3450011
https://serverfault.com/questions/748835/linuxredhatcrontab-bash-script-working-from-shell-but-not-in-crontab-ass
regards
Sina