Disable Outdated Scripts CLI

From Softaculous Wiki
Jump to: navigation, search

Overview

Softaculous allows you to disable all Scripts that have not been updated for 2 years from command line.

Note : This has been added in Softaculous 5.0.9

Disable all Outdated Scripts

  • Use the following command to Disable all outdated scripts (not updated by script vendor since 2 years) at once :
php /path/to/softaculous/cli.php --disable_outdated_script

E.g. for cPanel :

/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable_outdated_script
  • That's it. All Scripts that have not been updated for 2 years will now be disabled.

Parameters

  • In the above command the first parameter should be --disable_outdated_script as this parameter will initiate the disable outdated scripts function.