How to execute a Linux command within WHM?
I need to execute each day a Linux command due to system and security. How to manage this using WHM?
An example:
/usr/local/cpanel/scripts/clean_user_php_sessions
-
Hey there! If you are running this command every day it would likely be best to set this up as a cron, although there isn't a method to do this directly through WHM. We have details on how you can set this up here:
0 -
I need to add a profile for S3.
aws --version
-bash: /usr/local/bin/aws: Permission denied
As I understand it can be added as a root Terminal access:
aws configure --profile wasabi
0 -
"aws" is not a typical Linux command unless you are using the AWS CLI tools mentioned here:
0
Please sign in to leave a comment.
Comments
3 comments