So, i’ve got a .sh script that works just fine when i trigger it manually in SSH (it connects to DB1 via API on external server, and stores data in DB2 hosted on DH):
bash -x /home/surrealm/dvh/pdgadb-update-players.sh
gives EXACTLY the result i need, without ANY error.
When i try to set up a cronjob, i would either get error “sh: no such file or directory” , or nothing would happen (not receiving email would however suggest that script works normally)
To bypass DH panel, i removed cronjob and set it manually in SSH.
This is what it says now, when i do cronjob -l
0 4,16 * * * /home/surrealm/dvh/pdgadb-update-players.sh"
But NOTHING happens; no error messages, no result in DB.
My script programmer says i should try to have the script executed by bash instead of sh.
DH are not (willing or capable?) to help me out with that part, and keep referring me to this forum.
Can anyone of you please help me fix this issue?