Updating the scheduled task to check for the existance of an existing ta...

...sk and if its found then it will be out of date and needs updating

This has been tested. when we add 2>1 on the end of the command, it throws an exception and cannot be treated as an object. We cannot then test to see if it needs updating or not - so it will *always* create the task