Add/Edit/Delete a Cron Job in WordPress
Cron is used when wordpress deals with scheduled activities .The word cron originate from time base work scheduler in Unix .wordpress utilize cron for number of operations.These planned job consist of checking for latest version for wordpress,looking for theme as well as plugins updates and also publishing scheduled article.
One of many typical myths regarding cron in wordpress is usually that cron is consistently functioning searching to get jobs to perform ,this really isn’t the case. Cron is function whenever a front end or admin page is loaded on the website .Each time a page is required, wordpress tests if there are any kind of cron jobs to perform.
Any visit to your website can induce cron, regardless of whether from visitor or even a search engine bot.
For example, you could set a cron job to delete temporary files every week to free up disk space.
In this blog we will discuss about how to add a new cron job by using wp_shedule_event and also to edit and delete this job.Add a New Cron Job
Schedules a hook which will be executed by the wordpress actions on a specific (Daily,Hourly,twicedaily) interval. The action will activate when somebody visits your wordpress website, if the scheduled time has passed.
To read full article please visit to our website.http://www.flippercode.com/addeditdelete-a-cron-job-in-wordpress/