Hi, if it’s a bash script you’d be better off using the server crontab, instead of the plugin
Hi,
Thanks for reply, yes it is.
But pressable doesn’t offer server side cron 🙁
Thus I am looking for a solution
-
This reply was modified 3 years, 9 months ago by
roadlink.
Oh, in this case, I don’t think they’ll allow executing bash scripts from the PHP runtime.
Hi,
It is their official reply. They say it is possible.
Is it possible with your plugin?
thanks a lot.
“We currently do not offer server-side cron jobs at Pressable. However, it is possible to create and manage cron jobs on your WordPress site programmatically, or by using a plugin. WordPress offers an internal system from cron called “wp-cron” (Function reference: https://codex.ww.wp.xz.cn/Function_Reference/wp_cron ) which runs a hooked function at a set interval.”
Hi,
yes, with our plugin you can schedule a WP Cron with a recurring job, but the script needs to be written in PHP. It doesn’t have a direct connection to the shell. If Pressable doesn’t provide server-cron, I don’t think they’ll allow executing bash scripts from PHP.