We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae4a6e commit 814ec01Copy full SHA for 814ec01
server/plugins-available/cron_plugin.inc.php
@@ -237,7 +237,7 @@ function _write_crontab() {
237
238
$command .= "\t{$this->parent_domain['system_user']}"; //* running as user
239
if($job['type'] == 'url') {
240
- $command .= "\t{$cron_config['wget']} -q -t 1 -T 7200 -O " . $log_wget_target . " " . escapeshellarg($job['command']) . " " . $log_target;
+ $command .= "\t{$cron_config['wget']} --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -q -t 1 -T 7200 -O " . $log_wget_target . " " . escapeshellarg($job['command']) . " " . $log_target;
241
} else {
242
$web_root = '';
243
if($job['type'] == 'chrooted') {
0 commit comments