I am attempting to test my
cron job by setting it a few minutes (let's say 10) from the current time. For instance, if right now is 5:00 PM, I set:
10 17 * * * dotnet <full path to .net core dll>
When the clock strikes 5:10 PM, the job is not executed.
On the other hand, if I set the
cron job to execute every minute:
* * * * * dotnet <full path to .net core dll>
It is successfully executed every minute.
I've looked up reasons for why a bash command doesn't execute. Unfortunately none of the suggestions explain why one works and the other one does not.
OS: Ubuntu AWS Instance
date command gives me the correct time I am using as a reference.