FileNotFoundError when trying to use a notification script

It works now. Gave the site user the permission to the files, tried to execute script directly via bash, saw it threw an error and did the following to the file

  • Open your shell file on NotePad++ - Click on Edit on Top bar menu, then choose EOL Conversion → Unix(LF) - Now copy this file in your Linux system and it should run without these errors.

Now the notifications are getting into zammad