To set up cronjob to run at midnight, follow these step-by-step instructions:
1. Click Add a cronjob
2. Enter the cronjob URL
3. Select When to call: Every day, then click Exact time button and select 0 at both Minute and Hour field
Or you can enter 0 0 * * * into Time pattern field.
Or you can enter 1 day, midnight into Time pattern field.
4. Select desired Time zone value
5. Save cronjob
And that's it.