且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PHP和shell_exec

更新时间:2022-10-26 22:33:32

Thanks for your answers, but none of them worked :(. I decided to implement in a dirty way, using busy waiting, instead of triggering an event when a record is inserted.

I wrote a backup process that runs forever and at each iteration checks if there is something new in database. When it finds a record, it executes the script and everything is fine. The idea is that I launch the backup process from the shell.

相关阅读

技术问答最新文章