1
Guys I have a . sh and I’m having difficulty making it run on crontab every minute
Example I have my file . sh /var/www/exec/checarservidor.sh it is with due permissions.
add it to crontab
* * * * * /var/www/html/exec/checarservidor.sh | sendmail -s "crontab rodado" [email protected]
It doesn’t work I tried too
* * * * * /bin/bash /var/www/html/exec/checarservidor.sh | sendmail -s "crontab rodado" [email protected]
also doesn’t work.
It worked!! Thank you! s2s2
– TutiJapa Wada