5 minutes after a specific user action occurred, I need to change some data in my database. Till now I have programmed on my homeserver and I have used mysql Events in order to achieve this, which worked perfectly. But my current provider where I now host my website restricts the use of mysql Events.
Now I have to come up with an alternative for mysql Events.
I thought about executing a php script that changes the data in the background by using exec("php script.php &> /dev/null &")
, which actually works (at least on my homeserver) but which is also restricted by my provider.
Now I'm really out of ideas and need your help - how can I do the trick?
Thank you!
Christof
EDIT: Cronjobs don't do the trick in my case, since I have to execute the script only if the specific user action has occurred.