Send Email When Windows VPS Starts Up with Batch File

I have some windows vps servers and when they are restarted I want to receive an email when they do, just so that I know what’s going on. After some searching I found a great, free little utility called mailsend.exe mailsend is not fancy and can only be run through the command line, but what it does allow is configuration of smtp servers, so in the case your vps has port 25 blocked, then just use gmail as your external mail server. Here is an...

Read More Here >>

Auto Reboot Windows 7 Enterprise Every X Hours

I am running a bunch of vps servers which run Windows 7 Enterprise in order to run certain automated marketing software. However, I am noticing after a few hours, the cpu gets a bit high so want to auto reboot the vps’s every 4 hours in order that the software runs on a clean slate (and to also avoid the “cpu abuse” warning from the hosts). Its surprisingly simple to do this and requires only a couple of steps. 1. Open up the command...

Read More Here >>

[solved] Gravity Forms with Javascript Validation

Gravity Forms (www.gravityforms.com), without a doubt is one of the best WordPress forms plugin out there, I have been using it since it was launched and is a brilliant tool and I have it in use on literally hundreds of web sites. However, recently I have had the need to put javascript validation on some forms and unfortunately, Gravity forms does not natively support it. When I contacted Gravity Support to ask about javascript validation, they basically...

Read More Here >>

[solved] How to Delete Plesk Backups

The following command can be used to delete all the backup files in a plesk server. cd /var/lib/psa/dumps/ rm -rf * When might you need to do this? You might find that your disk runs out of space due to the many automated plesk backups that are run and when you check /var/lib it will show 100% being used, like this…

Read More Here >>

[solved] Changing Field Labels in Gravity Forms with gform_pre_render

I have taken on a wordpress project recently which required me to change the language of the text in the field labels on some gravity forms. The site is in one language, but within wordpress they have the option to show certain pages in a different language, for example Norwegian. So, if we have a form with the default text of Name and Telephone and the form was being shown on a Norwegian page, then the text would need to display: Navn and Telefon. On...

Read More Here >>
NAVIGATION MENU