I have cron set in /var/spool/cron/root
I have cron file at /usr/local/cpanel/whostmgr/docroot/cgi/customcronfile.php
When cron runs it creates
PHP Warning: shell_exec() has been disabled for security reasons in /usr/local/cpanel/whostmgr/docroot/cgi/customcronfile.php on line 22
In customcronfile.php, starting at line 22 I have command
$ls = `ls -la /var/cpanel/users`;
$lslist = explode("\n",$ls);
I have cron file at /usr/local/cpanel/whostmgr/docroot/cgi/customcronfile.php
When cron runs it creates
PHP Warning: shell_exec() has been disabled for security reasons in /usr/local/cpanel/whostmgr/docroot/cgi/customcronfile.php on line 22
In customcronfile.php, starting at line 22 I have command
$ls = `ls -la /var/cpanel/users`;
$lslist = explode("\n",$ls);