Last active
August 14, 2018 17:40
-
-
Save uptimizt/3703728a389847da8e1dfa0de18d427d to your computer and use it in GitHub Desktop.
Добавляем команду запуска крона
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
crontab -l | { cat; echo "*/1 * * * * curl http://site.lcl/wp-cron.php?doing_wp_cron > /dev/null 2>&1"; } | crontab - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define('DISABLE_WP_CRON', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment