I have a .sh and I'm having difficulty running it in crontab every minute
Example I have my .sh file /var/www/exec/checarserver.sh it has permissions.
add it to crontab
* * * * * /var/www/html/exec/checarservidor.sh | sendmail -s "crontab rodado" [email protected]
It does not work already I tried too
* * * * * /bin/bash /var/www/html/exec/checarservidor.sh | sendmail -s "crontab rodado" [email protected]
also does not work.