I am working on project where i want to automatically insert data when user doesn't input when time limit increase, for example when it is 12AM of a day then it automatically insert a data which can be
{
"_id": "611570ac944a3335483fcc04",
"username": "abc",
"Date": "2021-08-14",
"attendance": "absent",
}
please help how to do this