Runs once when the task is initialised.
Define code to run once, when the task is started. Override to implement.