1. A method of scheduling a workload on a computer, the method comprising: receiving, in the computer, one or more workload-related variables; receiving, in the computer, one or more trigger values for a workload-related variable of the one or more workload-related variables; determining, from the workload-related variable and its associated triggering value, one or more conditions under which one or more tasks are to be performed on the computer; acquiring a status value of the workload-related variable at regular intervals; and performing a task when the status value of the workload-related variable attains the triggering value for the task.