-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Hi,
When I try to execute a simple command, jobby return me this message:
Warning: exec() has been disabled for security reasons in /home/userXXXX/domains/XXXXXXXXXX/public_html/vendor/hellogerard/jobby/src/Jobby.php on line 170
I debug the exec command and try to execute it out of this file and work fine:
<?php
exec('/opt/alt/php73/usr/bin/php "/home/userXXXX/domains/XXXXXXX/public_html/vendor/hellogerard/jobby/bin/run-job" "Ejemplo" "jobClass=Jobby%5CBackgroundJob&mailer=sendmail&smtpPort=25&smtpSender=jobby%40nl-srv-web259.main-hosting.eu&smtpSenderName=jobby&runOnHost=nl-srv-web259.main-hosting.eu&output=%2Fhome%2Fu6userXXXX%2Fdomains%2FXXXXXXXX%2Fpublic_html%2Fcrons%2Flogs%2Funminut.log&dateFormat=Y-m-d+H%3Ai%3As&enabled=1&debug=0&command=ls&schedule=%2A%2F2+%2A+%2A+%2A+%2A" 1> /dev/null 2>&1 &')
I put this file in the same folder than Jobby.php and it works.
You know what is the problem?
Metadata
Metadata
Assignees
Labels
No labels