All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Simple perl script to automatically update Wordpress plugins at frequent intervals
This is just a simple perl script that I created to help me keep Wordpress plugins updated. I have 7 Wordpress sites on a VPS, and find it tedious to update them one after another, after getting notifications in my mailbox. As a perl script it is nothing spectacular, and is in fact one of my first perl scripts. Perl gurus, go easy on me, please.
What does it do? It takes command line arguments for the plugin directories, and calls up Wordpress.org, parses the html, and if a newer plugin version is found, downloads and updates the intalled plugin.
If you find it useful, any suggestions and critique would be nice. It's GPL3 and any additions/enhancements would be welcome.
The script can be run as cron jobs to make maintaining your plugins easy.
Comments
I'm using http://infinitewp.com/ for managing cca. 30 Wordpress sites. It's rock stable and reliable! Can backup and manage plugins as well!
Wow, I don't know how I haven't seen that before, thanks for the share!
ditto, me too
There is https://managewp.com as well offering similar service.
Cool stuff, many thanks
Looks better for managing client websites, although very similar functionality to infinitewp..
Do all of you prefer third party web services, to doing it automatically, in a couple of seconds as cron jobs?
If it was an option that I could turn off and on, that would be nice.
Of course you can.
crontab -e
and delete the scriptname, you turn it off. Add the name and you turn it on.You also get a lot of fine tuning of scheduling. You can set time for the update job to be run to the precise second, every n hours/days/weekend etc.
There's always the security aspect of allowing some unknown service provider privy to your site data, when you run a third party service. I thought people over here were paranoid about security.
That's the big worry here for me, not sure how customers would respond to that.
@joelgm Lots of things are good for service management But I wouldn't listen to these guys do perl like you want
Nothing is wrong with a simple perl cron job and saving hassle over another piece of software to worry about.
Also can cause issues when updates break functionality that previously worked.
InfiniteWP is a php script running on your localhost or server, there is no 'provider' or anyone you need trust. Also you can check the code yourself!
Wow - love that !
@joelgm Seems great, thanks! I do prefer local management indeed.
Just bumping this up for anyone who's interested. Recently I was asked about this software by a couple of guys around here.
[email protected]:root/wordpress_plugin_updater.git
Updated this..
Updated this script and moved it to github.
https://github.com/droidzone/wordpress_plugin_updater
Wiki
https://github.com/droidzone/wordpress_plugin_updater/wiki
mainwp.com for me - ditched infinitewp when it cost more than mainwp does, never looked back!
I also think that managewp.com is the best option.
Where did you sign up for necromancy contest?
Great thanks to @Droidzone for suggesting about bitbucket.org as it’s an elite web-based hosting service for various projects, which either use Mercurial or Git revision control systems. In order to update your WordPress plugins automatically, you can simply use perl script of bitbucket. It will surely overcome your manual efforts.
Check out the WP CLI? Pretty nifty for this