Overview
Softaculous allows you to enable/disable pre download for Scripts from command line.
Note : This has been added in Softaculous 5.1.3
Enable Pre Download
- Use the following command to Enable Pre Download for scripts :
php /path/to/softaculous/cli.php --enable_pre_download --sid=26,413
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --enable_pre_download --sid=26,413
In the above example 26 is the ID for WordPress and 413 is the ID for Joomla, so the command will enable pre download for WordPress and Joomla.
Parameters
- –enable_pre_download : This parameter will initiate the enable pre download function
- –sid=ID,ID : Pass the script ID of the scripts for which you want to enable pre download. You can pass multiple script ids (comma separated) as well.
- That’s it. Pre Download will be enabled for the Scripts you passed in parameter.
Disable Pre Download
- Use the following command to Disable Pre Download for scripts :
php /path/to/softaculous/cli.php --disable_pre_download --sid=26,413
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --disable_pre_download --sid=26,413
In the above example 26 is the ID for WordPress and 413 is the ID for Joomla, so the command will disable pre download for WordPress and Joomla.
Parameters
- –disable_pre_download : This parameter will initiate the disable pre download function
- –sid=ID,ID : Pass the script ID of the scripts for which you want to disable pre download. You can pass multiple script ids (comma separated) as well.
- That’s it. Pre Download will be disabled for the Scripts you passed in parameter.