Title: Improved Cron
Author: CPK Web Solutions
Published: <strong>15 اکتبر 2013</strong>
Last modified: 28 سپتامبر 2015

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/improved-cron.svg)

# Improved Cron

 توسط [CPK Web Solutions](https://profiles.wordpress.org/cpkwebsolutions/)

[دانلود](https://downloads.wordpress.org/plugin/improved-cron.1.3.3.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/improved-cron/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/improved-cron/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/improved-cron/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/improved-cron/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/improved-cron/)

## توضیحات

Cron not running when you expect? This plugin may help. Also provides insight into
WP-Cron exactly like the Cron View plugin.

This plugin will visit your site every minute and thereby ensure that your cron 
jobs run on time. It is mostly intended for people who can’t use real cron for some
reason.

Note: This is the exact same plugin that was previously sold on Code Canyon.

Contributions are welcome: https://github.com/hinnerk-a/improved-cron

## عکس‌های صفحه

[⌊Interface of Improved Cron⌉⌊Interface of Improved Cron⌉[

Interface of Improved Cron

## نصب

 1. Either use the built-in plugin installer, or download the zip and extract to your‘
    wp-content/plugins’ folder.
 2. Activate the plugin in Plugins > Installed Plugins
 3. Open the ‘Improved Cron’ main menu item on the left side of your WordPress dashboard

## سوالات متداول

  What is a “fake visit”?

WordPress Cron only runs when someone visits your site. A fake visit causes a page
to load without needing a real person to visit.
 For the more technically minded,
the plugin spawns a PHP sub-process that loops indefinitely and loads wp-cron.php
each minute. This causes WP Cron to be triggered in exactly the same way it would
if a real user was visiting your site.

  Can the interval be adjusted?

Yes. However, you’d need to modify the plugin code. The reason is that WordPress
won’t allow cron jobs to run more frequently than 1 minute, and running every minute
has very little downside.
 If you really must tinker with it, hook a filter into‘
imcron_interval_id’ like this (change ‘123’ to your desired interval time):

    ```
    add_filter( 'cron_schedules', 'add_my_own_interval' );
    function add_my_own_interval() {
        $seconds = 123;
        $interval['my_own_interval'] = array('interval' => $seconds, 'display' => sprintf( '%d seconds', $seconds ) );
        return $interval;
    }

    add_filter( 'imcron_interval_id', 'set_imcron_interval' );
    function set_imcron_interval() {
        return 'my_own_interval';
    }
    ```

You’ll need to stop and re-start on the settings page to get the new interval to
take effect.

  Will it list every scheduled event in the admin, including those scheduled by 
plugins or themes?

Yes, it includes all events scheduled within WordPress at the time.

  What is PHP requirement of using this? Is it PHP exec() enable?

If your WP-Cron jobs work when you have a visitor, then this plugin should work 
for you. The plugin uses exactly the same code as WP Cron does, just in a different
way, and with safeguards, a keep alive, logging available, etc.
 The ‘background
process’ is really a HTTP request that loops indefinitely until you press stop in
the panel. I also use a lock file system to prevent multiple ‘processes’ starting,
as well as provide a failsafe method of killing the process (if the lock file is
gone when it wakes up, then it dies).

  Doesn’t running a background process consume extra memory?

Yes, but only a small, fixed, amount of memory. During testing, I left the plugin
running for a couple of weeks while logging memory usage each minute. There was 
no growth in memory usage (Iow, no memory leak) and a pretty small memory footprint(
under 250KB).

  Do you know if the “fake” visits will be detected by WP Stats/Google Analytics/
etc?

The plugin calls wp-cron.php directly, so I doubt any stats programs will record
these visits.

  Does this allow you to create cron jobs, or does it just help them run?

It just helps them run when you expect them to (+/- 1 minute). Normally, WP Cron
requires a visitor so the actual run time of a cron job can be hours after you scheduled
it to run.

  Will this works with WordPress MultiSite? And if so, can I turn certain double
crons (like plugin update checks) off?

I haven’t done any testing with WordPress multisite yet. I created it for a project
I was working on and spun it off into a standalone plugin. Unfortunately, I haven’t
made anywhere near enough sales to justify much extra development effort at this
stage, however I’m open to sponsorship to test and/or extend it.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/537a16cbeaaf32acf348399ac9947be6e43c4e16578b31cdd1fecc02158389e1?
s=60&d=retro&r=g)

### 󠀁[Still works at 4.9.4](https://wordpress.org/support/topic/still-works-at-4-9-4/)󠁿

 [Harry](https://profiles.wordpress.org/dibbyo456/) 19 فوریه 2018

It's still works fine at wordpress version 4.9.4 with PHP 7.1

![](https://secure.gravatar.com/avatar/bc629923dde1708d163da98c7be9240075093fb1ffb098875b6785d6dd6657ed?
s=60&d=retro&r=g)

### 󠀁[Works with 4.7](https://wordpress.org/support/topic/works-with-4-7-4/)󠁿

 [meadows19](https://profiles.wordpress.org/meadows19/) 22 ژانویه 2017

Simple and works nicely. Thank you for making this free and for maintaining it.

![](https://secure.gravatar.com/avatar/3e36841289d0ed1c105795e363dae4be09cc7b001def28f913b4b748d74403ec?
s=60&d=retro&r=g)

### 󠀁[At the moment, it doesn't appear to be working.](https://wordpress.org/support/topic/at-the-moment-it-doesnt-appear-to-be-working/)󠁿

 [Gary Gordon](https://profiles.wordpress.org/garymgordon/) 7 فوریه 2017

I said "at the moment" since I posted a question to the plugin author. It says "
no support" (which is odd) but I'm just trying to get this plugin to work and it
seems to be functioning, but other indications show that the plugin "is not" working.
So, at the moment, I need to give this plugin only a rating of one star since I'm
anticipating no help from the author and the plugin appears to not be working. I've
tried disabling all plugins .. but that didn't help. If the author replies back 
and helps with this, I'll certainly update my post and rating. I'm keeping my fingers
crossed. It would be nice if this plugin worked.

 [ خواندن تمامی 6 نقد و بررسی‌ ](https://wordpress.org/support/plugin/improved-cron/reviews/)

## توسعه دهندگان و همکاران

“Improved Cron” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ CPK Web Solutions ](https://profiles.wordpress.org/cpkwebsolutions/)
 *   [ Hinnerk Altenburg ](https://profiles.wordpress.org/hinnerk/)

[ترجمه “Improved Cron” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/improved-cron)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/improved-cron/)، [مخزن SVN](https://plugins.svn.wordpress.org/improved-cron/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/improved-cron/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/improved-cron/) مشترک شوید.

## گزارش تغییرات

#### 1.3.3

 * Returning actual bgp interval in settings makes possible to be changed, dynamically.

#### 1.3.2

 * Fix stable tag

#### 1.3.1

 * Fixed readme.txt
 * Cleanup SVN

#### 1.3.0

 * Hinnerk Altenburg now contributing
 * Cleanup and smaller fixes
 * Security fixes
 * New filter hook ‘imcron_interval_id’
 * Updates docs

#### 1.2.0

 * Transferred from Code Canyon

## اطلاعات

 *  نگارش **1.3.3**
 *  آخرین به‌روزرسانی **11 سال پیش**
 *  نصب‌های فعال **100+**
 *  نگارش وردپرس ** 3.3 یا بالاتر **
 *  آزمایش‌شده تا **4.3.34**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/improved-cron/)
 * برچسب
 * [cron](https://fa.wordpress.org/plugins/tags/cron/)[jobs](https://fa.wordpress.org/plugins/tags/jobs/)
   [ping](https://fa.wordpress.org/plugins/tags/ping/)[scheduled](https://fa.wordpress.org/plugins/tags/scheduled/)
   [view](https://fa.wordpress.org/plugins/tags/view/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/improved-cron/advanced/)

## امتیازها

 4.2 از 5 ستاره.

 *  [  امتیاز 4 5-ستاره     ](https://wordpress.org/support/plugin/improved-cron/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/improved-cron/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/improved-cron/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/improved-cron/reviews/?filter=2)
 *  [  امتیاز 1 1-ستاره     ](https://wordpress.org/support/plugin/improved-cron/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/improved-cron/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/improved-cron/reviews/)

## مشارکت کنندگان

 *   [ CPK Web Solutions ](https://profiles.wordpress.org/cpkwebsolutions/)
 *   [ Hinnerk Altenburg ](https://profiles.wordpress.org/hinnerk/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/improved-cron/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://cpkwebsolutions.com/donate)