Desired scenario is: Tasks are set to run every day at 2am, and user want to run the task every day at 6:00pm. He starts an application and change it.
I've successfully created an agent that runs a task every given calendar dates. But I need these dates to be configurable by the user at his will, using an application. Is it possible to, programmatically, create/start/update an agent/daemon to run under launchd? If yes, how can I do this?