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

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
arcanebits
Veteran Member
Posts: 104
Joined: 2018-12-10 21:52

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

Post by arcanebits » 2023-09-18 17:13

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

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

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

Post by pbottcher » 2023-09-18 20:57

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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply