Doubts related to cronjob

Hi all,
The purpose of crontab is to run scripts/program on the specified time we want it to run .
Let’s say I want to run a script on night 10 pm so i scheduled a cronjob for this. suppose if i turn off my virtual machine in which the cronjob is scheduled. will the cronjob gets executed or not?

Certainly not; if a computer isn’t running at a given time, it can’t react.

1 Like