CPanel Scripts: Difference between revisions

From Psygen Wiki
Jump to navigation Jump to search
Line 12: Line 12:


<code>/usr/local/cpanel/bin/checkallsslcerts</code> - Checks All SSL certificates.
<code>/usr/local/cpanel/bin/checkallsslcerts</code> - Checks All SSL certificates.
Mail sizes showing incorrectly? Try this:
<code>/scripts/generate_maildirsize --confirm --allaccounts --verbose $USER</code>

Revision as of 02:14, 2 November 2017

cPanel has a bunch of scripts in the /scripts folder.

For most of them, you can run: /scripts/script_name_here --help to see what the script does. (Except for upcp... --help is not available for it.)

Scripts

/scripts/whowns domain.com - Tells you which cPanel account owns the specified domain.

/scripts/upcp --force - Updates cPanel (use with caution)

/scripts/pkgacct user - backs up the entire specified cPanel account, including databases, e-mail, settings, etc. Replace "user" with the cPanel username to backup.

/usr/local/cpanel/bin/checkallsslcerts - Checks All SSL certificates.

Mail sizes showing incorrectly? Try this: /scripts/generate_maildirsize --confirm --allaccounts --verbose $USER