Title: Problem with cron
Last modified: August 30, 2016

---

# Problem with cron

 *  Resolved [seiyar26](https://wordpress.org/support/users/seiyar26/)
 * (@seiyar26)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/)
 * Hi all I try to execute images optimisations with cron but don’t works
 * thanks
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6426877)
 * Please post your debug information from the settings page, and then describe 
   in detail what you are trying to do.
 *  Thread Starter [seiyar26](https://wordpress.org/support/users/seiyar26/)
 * (@seiyar26)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6426899)
 * Hi I haven’t the debug information where can I find it ?
 * Would it be possible to make it work from my server which would execute it without
   getting my laptop turned on ?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6426901)
 * The debug information is on the settings page when you have turned on the debug
   option, and you’re still not providing anything close to enough information for
   me to help you. What do you want to make work on the server without turning your
   laptop on? As much detail as possible please. Step by step what you are trying
   to accomplish.
 *  Thread Starter [seiyar26](https://wordpress.org/support/users/seiyar26/)
 * (@seiyar26)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6426907)
 * In fact I don’t want to click on the “Run all my images through image optimizers
   right now” button because I have 9000 images to process and I don’t want my computer
   to be turned on for 5 days long. Does it exist a way through a crontab or any
   other one to fix it ?
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6426909)
 * Ah, now I understand what you’re getting at. Yes, you can run it via cron if 
   you have access to the command line on your server. EWWW has a wp-cli interface,
   see the main page for more detail on that: [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)
 * And the wp-cli homepage: [http://wp-cli.org/](http://wp-cli.org/)
 *  Thread Starter [seiyar26](https://wordpress.org/support/users/seiyar26/)
 * (@seiyar26)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6427027)
 * Hi I have this error
 * natachaste-12781:~$ php wp-cli.phar help ewwwio optimize
    Error: This does not
   seem to be a WordPress install. Pass –path=`path/to/wordpress` or run `wp core
   download`.
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6427029)
 * You need to put wp-cli inside your WP root folder.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem with cron’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/problem-with-cron-1/#post-6427029)
 * Status: resolved