peppeocchi / php-cron-scheduler

PHP cron job scheduler
MIT License
811 stars 144 forks source link

problem with exec function #68

Closed momohammadi closed 6 years ago

momohammadi commented 6 years ago

to many shared hosting provider disabled exec and shel_exec function , can i run it without use exec function ?

peppeocchi commented 6 years ago

@momohammadi I know what you mean but this library relies on that function to execute background jobs. One possible workaround is if you schedule Closures instead of script/commands because those jobs don't need the exec or any other function to work (you might have issues writing to files or to send emails if your hosting provider doesn't allow you to run those commands as well)