I need to run a php script every x seconds.
x seconds are stored in mysql database .
the cron must now its time to work from database .
i know how to add cron job every one minute and other static time .
but this is new to me.
I need to run a php script every x seconds.
x seconds are stored in mysql database .
the cron must now its time to work from database .
i know how to add cron job every one minute and other static time .
but this is new to me.
Don't need cron job or mysql scheduler. If job must be run in seconds interval use SLEEP function and rerun it again and again. Documentation