How to check the number of new version?
-
I wanna make a script to check what is the new version of WordPress everytime.
I have many wordpress installed in my job and some of these are outdated, so I wanna know which these I need request the update.
When I finish it, I can release this here or in another place, if you want.
I wanna know if there is a variable or another way to get this information, may be a string in webpage or something like that.
Now I am making with this code
wget https://www.ads-software.com/download
cat index.html | grep latest= | awk -F= {‘print $3′} | awk -F\’ {‘print $1’}
The return know is 2.8 (the latest version), but I am not sure if the www.ads-software.com will keep this way forever.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to check the number of new version?’ is closed to new replies.