Create cronjob with Zend Framework

前端 未结 13 2120
广开言路
广开言路 2020-12-13 14:32

I am trying to write a cronjob controller, so I can call one website and have all modules cronjob.php executed. Now my problem is how do I do that?

Would curl be an

13条回答
  •  天涯浪人
    2020-12-13 15:16

    You could set up a database table to hold references to the cronjob scripts (in your modules), then use a exec command with a return value on pass/fail.

提交回复
热议问题