search for: prioritair

Displaying 2 results from an estimated 2 matches for "prioritair".

Did you mean: prioritary
2013 Apr 18
0
problem with a script via upssched-cmd
...ent, I want to sent a email, shutdown a windows server and shutdown an ubuntu server When I run my script manually, all is ok but via upssched-cmd it return "exec_cmd returned 255" here is the script #!/bin/bash # send mail to admin echo "ECO" | mail -s "ARRET SERVEURS NON PRIORITAIRES" moi at domaine.fr net rpc shutdown -f -I ip_windows -U login%passwd ssh login at ip_ubuntu sudo shutdown -h now If I run only this cde net rpc shutdown -f -I ip_windows -U login%passwd it's ok if I run only this cde ssh login at ip_ubuntu sudo /sbin/shutdown -h now I have returned 25...
2013 Apr 18
0
Nut-upsuser Digest, Vol 94, Issue 18
...ent, I want to sent a email, shutdown a windows server and shutdown an ubuntu server When I run my script manually, all is ok but via upssched-cmd it return "exec_cmd returned 255" here is the script #!/bin/bash # send mail to admin echo "ECO" | mail -s "ARRET SERVEURS NON PRIORITAIRES" moi at domaine.fr net rpc shutdown -f -I ip_windows -U login%passwd ssh login at ip_ubuntu sudo shutdown -h now If I run only this cde net rpc shutdown -f -I ip_windows -U login%passwd it's ok if I run only this cde ssh login at ip_ubuntu sudo /sbin/shutdown -h now I have returned 255...