The following warnings occurred:
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 613 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 654 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 701 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 749 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 801 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
File Line Function
/inc/class_plugins.php 38 errorHandler->error
/inc/class_plugins.php 38 require_once
/inc/init.php 239 pluginSystem->load
/global.php 20 require_once
/showthread.php 28 require_once




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Cron jobs not working in cpanel
#5
Hi

Adiditonaly to CSF RESTRICT_SYSLOG, once changed the option, you may have to change the permissio to 666 for /dev/log.

Reply from one of the cpanel techs
===========================
Non-default Perms: /dev/log [mode 0660] (default 0666) - CSF RESTRICT_SYSLOG can change this. Non-root users may not be able to log to syslog, including user cron jobs to /var/log/cron.

This may possibly be the cause of the crons to fail to properly load. I changed the permissions for the /dev/log file to 666 now so lets check to see if crons now run

[01:40:13 server101 root@7878233 /dev]cPs# stat log
File: `log'
Size: 0 Blocks: 0 IO Block: 4096 socket
Device: 5h/5d Inode: 9592 Links: 1
Access: (0660/srw-rw----) Uid: ( 0/ root) Gid: ( 494/mysyslog)
Access: 2016-11-03 01:59:01.741000037 -0400
Modify: 2016-11-02 01:58:43.860755866 -0400
Change: 2016-11-02 01:58:46.211755864 -0400
[01:40:15 server101 root@7878233 /dev]cPs# chmod 666 log
[01:40:23 server101 root@7878233 /dev]cPs#
Reply


Messages In This Thread
User Cron jobs not working in cpanel - by Chris.G - 11-05-2016, 05:12 AM
RE: User Cron jobs not working in cpanel - by Chris.G - 11-05-2016, 11:31 AM
RE: User Cron jobs not working in cpanel - by Edward - 12-09-2016, 02:02 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)