Server IP : 192.168.23.10  /  Your IP : 18.221.161.43
Web Server : Apache
System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64
User : rrrallyteam ( 1049)
PHP Version : 8.1.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /etc/cron.d/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //etc/cron.d/wp-toolkit-update
# 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 fails (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 yum update is called to install latest available version.

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; /usr/bin/yum -y update wp-toolkit-cpanel > /dev/null 2> /dev/null