Page 1 of 1

To do List, Work, but need to make recurrent in an easy way.

Posted: 2023-09-18 17:13
by arcanebits
As a solo developer, i prioritize being efficient and optimize the use of tools, time its money and live itself...

I have a ToDo list make in Appgini, quite normal table, the exact one you expect, and IT HELPS ME A LOT!... there is a catch.
I do have a lot of recurrent work, Real examples:
x- Dont let plants die , go watter them
x- Work on project PANDORA from this time to that time
x- EAT your food
and so on....

At the moment to start the day, every single recurrent one, gets this treatment --> the copy to new record + adjust date to tomorroy and SAVE
In that way they all are ready to be worked tomorrow. This just takes 5 minutes, but is every day!

Is there a way i can do this not so manually?
a3

Re: To do List, Work, but need to make recurrent in an easy way.

Posted: 2023-09-18 20:57
by pbottcher
Hi,

what you can try.

In the hooks/__global.php -> login_ok function you can add a SQL statement to check if the records for today already exist. If not just create them as a copy from the last available TODO's with resetting the date value.