How to make a schedule task to run every month or every day

i am trying to make an app to check if a new month is start i want to save in SQLite some data but i don’t know haw to make a schedule service or task that’s run every month or every specific time the task itself won’t take much time but how can i schedule it

i tried to use this plugin @transistorsoft/capacitor-background-fetch but it works for capacitor 4 not 3 i am using ionic 6 with capacitor/core 3.3.4

Please could anyone help me with this?

then it’s time to upgrade. Use capacitor 4.

1 Like