Cron is used to schedule a job to run repeatedly. What you want is `at`, which schedules a job to run one-time. For your example you can write:
at midnight
This will bring up an interactive prompt where you can enter `/tmp/script.sh` followed by `Ctrl`+`D`.