If you are running WAS v7 or later you may want to consider using the WAS ND Job Manager instead of a cron job to check on the status of a WAS server and start if needed.
With the Job Manager you can use your existing WAS admin skills and knowledge to create "jobs" specific to WAS related tasks.