Hi Ian Chen Thanks for reaching out. I am unable to reproduce the issue at my end could you please confirm if this function runs locally?
It worked fine for me locally on my VS code as well as in the portal.
Seen the screenshots below:

Function Runtime Version**: 4.21.1.20667**
Functions.json should be like below:
{
"scriptFile": "init.py",
"bindings": [
{
"name": "mytimer",
"type": "timerTrigger",
"direction": "in",
"schedule": "0 */5 * * * *"
}
]
}
My host.json looks like below:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.*, 4.0.0)"
}
}
init.py coder is below**:**
import datetime
import logging
import azure.functions as func
def main(mytimer: func.TimerRequest) -> None:
utc_timestamp = datetime.datetime.utcnow().replace(
tzinfo=datetime.timezone.utc).isoformat()
if mytimer.past_due:
logging.info('The timer is past due!')
logging.info('Python timer trigger function ran at %s', utc_timestamp)
please verify if all the settings are same as above. Try changing the logs from filesystem logs to verbose and share me the details if the issue still persists.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.