5. http://softsolutions4u.com info@softsolutions4u.com
What is WordPress Cron Jobs?
We can schedule an event to be executed at
certain intervals, but it doesn’t operate like a
classical cron job.
Instead, the event is set and scheduled and
written to the database. Next time a user opens
the site, the WordPress cron system will look if
an event is scheduled, if so, will fire the event.
6. http://softsolutions4u.com info@softsolutions4u.com
Problem in Wordpress Cron
The problem is, someone has to visit the site
before the event actually start. So if you’ve
scheduled something to happen hourly, but no
one has visited your site in the last hour, then
the event will be never fired.
Example Case:
* Admin uploads the files to server
* Checks whether the file exists
* If file exits, read file and update the records and delete file.
* The above actions have to be executed every hour.