ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Yearly scheduler event


#1

Hi,
does it possible to add yearly event to the

scheduler_events

in

hooks.py

and will it be executed once per year?


#2

set a cron entry like

"cron": {
"0 0 1 1 *": "my_method___"
}

#3

hi, thank you, sorry but cron entry where it’s?


#4

hooks.py
Do read about it’s documentation.


#5

You can also add it to your cron tab.
access it by
crontab -e

You can add some particular method for it to execute by adding
bench execute /path/to/filename.method

Reading up on some basics on cron will also help.