Added example for creating a daily task that runs at midnight.