There are 20 cPanels in my WHM panel. so i want to "composer update" for all cPanel account.
So I run this command "composer update" using shell script .
then I run following code
shell script run successfully on cPanel account 1 to 10 , 10-20 its failed .
I got following email
So I run this command "composer update" using shell script .
then I run following code
Code:
cd /customscript/github && bash sync.sh
I got following email
Code:
Email Subject: *** SECURITY information for vpsfexcon.xxxxxx.com ***
Email Body:
vpsfexcon.xxxxx.com : Mar 16 06:46:34 : administrator : user NOT in sudoers ; TTY=pts/1 ; PWD=/customscript/github ; USER=root ; COMMAND=composer update