Created
May 14, 2016 05:46
-
-
Save mehh/81724de9232852481e15353d885aaba2 to your computer and use it in GitHub Desktop.
Unpublish page or post automatically at given time using wpcli and cron
This file contains hidden or 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
59 23 * * * /usr/local/bin/wp post update 1310 --post_status=draft --path="/home/username/public_html/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment