The gather_update_logs_setupcrontab Script
Valid for versions 82 through the latest version
Version:
82
Last modified: 2025 June 10
Overview
For more information about the cPanel Analytics data that we gather and how we use it, read our cPanel Analytics documentation and our Server Usage Analysis Data Collection Policy.
The /usr/local/cpanel/scripts/gather_update_logs_setupcrontab script schedules a cron job to run the gather_update_log_stats script. The gather_update_log_stats script sends your server’s update logs to WebPros International, LLC for analysis.
Whenever the gather_update_log_stats script runs, it creates a tarball file to send. This tarball contains all of the update log data that the system stored since your last update.
- The
/var/cpanel/updatelogsdirectory contains the system’s uncompressed update log files. - The
/usr/local/cpanel/logs/update_analysisdirectory stores the.tar.gzfiles that the system will send.
For more information about these log files, read our The cPanel Log Files documentation.
Run the script
To run this script on the command line, use the following format:
/usr/local/cpanel/scripts/gather_update_logs_setupcrontab [off]
Options
Use the following options with this script:
| Options | Description | Example |
|---|---|---|
off |
The script will remove the cron entry. | off |
--help |
Display the script’s help documentation. | --help |