Schedule will not work with Arduino it with raspberry

I tried in every way but the schedule function does not work

Can you post the schedule event that you were trying to do?