How to “fork” a video conversion process into background, in php?

后端 未结 3 1087
春和景丽
春和景丽 2021-01-15 14:18

I have a batch flash upload script, that uploads video files to a dir. Simple. After the upload completes, it creates a mysql record for that file, and moves on to the next

3条回答
  •  孤街浪徒
    2021-01-15 15:17

    It will do the trick but it seems like an unmanageable idea. If you're just going to launch and never look back, things might go wrong really fast.

    How about just scheduling a script that runs every few minutes and polls anything that is still in queue. Do you have access to cron?

提交回复
热议问题