I am using your plugin and would like to customize the execution of the Cron Job to optimize the backup process. Currently, the available scheduling options start from 1 day, 1 week, or 1 month, but I need to perform backups of the database and some specific files every 1 to 5 minutes.
Is there a way to modify the cron schedule so that it runs at a shorter interval than the default 24 hours? If there is any specific configuration or command I can use, could you guide me?
I appreciate your support in advance!
Best regards.
]]>I’ve also had issues with all my scheduled posts missing their scheduled date, so I’ve had to get a plugin installed that posted them when the next viewer came to the site.
I’ve attached images of what I see.
Sorry for any stupid things I might say, I recently moved from wordpress.com to a custom host, but decided to stick with wordpress, and am really new to all of this web hosting stuff.
View post on imgur.com
]]>I searched the FAQ, Knowledge Base and other questions and didn’t find anything about Cron Jobs.
I found it interesting to open this topic to discuss best practices.
Does your plugin have any wp-cron dependency?
On sites that I need maximum performance I usually disable wp-cron, but I configure a real Cron by the server, what is the correct value to configure? And what are the best practices to combine performance and functioning?
]]>cd /your/path/to/website; php -q wp-cron.php
The path I have is:
/usr/local/bin/php /home/domainin/public_html/
making the code:
cd /usr/local/bin/php /home/domainin/public_html/; php -q wp-cron.php >/dev/null 2>&1
but it’s still not working.
Any thoughts on how to fix this?
]]>I got the solution to this by doing
define(‘ALTERNATE_WP_CRON’, true);
and my backup was successful
but after 1 day, it started appending
www.mydomain.com/?doingcron=8387539920/ something to my url
i removed the line define(‘ALTERNATE_WP_CRON’, true);
and now again i can’t take backup.
what to do? kindly help!
We have the Pro version of the plugin but we encounter the following problem;
I created an import task via WP All Import and we import the role based prices via a xml feed. When I start the import manually everything works fine. But when I schedule the import via the crons the role based prices won’t show and I noticed that they are disabled for all products after the import is finished.
I tried lots of different options, also lots of different values for ‘Enable Role Based Price’ but nothing works.
I hope someone knows the solution for this. I use standard CURL crons by the way.
Best regards,
Bart
]]>i get this error on my site:
no cronjobs are running as they should.. They are all set to run “now”.
I am new to this, so please tell me what info you need from me to help..
Appreciate any help i can get from you. Thanks!
]]>PHP Fatal error (TypeError) has occurred. Error Message: Argument 1 passed to Google_Client::__construct() must be of the type array, object given, called in /home/greenz/public_html/wp-content/plugins/updraftplus/methods/googledrive.php on line 662 (Code: 0, line 93 in /home/greenz/public_html/wp-content/plugins/wpsp_email_pipe/asset/lib/google-api-php/src/Google/Client.php)
Backups are still working eventually as far as I can tell.
]]>* * * * 1-5 /usr/local/bin/wp –path=/home/myuser/public_html/wordpress core version >> /root/test.log 2>&1
and I′m getting in test.log:
Content-type: text/html; charset=UTF-8
It′s what I′m getting from any bash script with wp-cli commands. Those scripts run fine from command line:
#!/bin/bash
WP=/usr/local/bin/wp
array=($(find /home -maxdepth 6 -type d -name ‘*wp-content*’ -exec dirname {} \;))
for x in ${array[@]} ;do
echo “Checking:” $x
$WP –allow-root –path=$x core version
done