Two things should be done with scheduled tasks.
Firstly, there should be an extra field which holds the name of a file to load that contains the scheduled task function, so it doesn't have to be added to a file that will be known to be loaded when AutoTask() runs (i.e. ScheduledTask.php IIRC)
Secondly, there should be some kind of interface for the admin to actually add a new task that follows the above. Not quite sure how that squares out with respect to language strings, mind, but perhaps we could have each scheduled task broken into its own subfolder with its own language strings or something. Don't know yet about that (or maybe, just add the scheduled task's name/description into the DB)
Firstly, there should be an extra field which holds the name of a file to load that contains the scheduled task function, so it doesn't have to be added to a file that will be known to be loaded when AutoTask() runs (i.e. ScheduledTask.php IIRC)
Secondly, there should be some kind of interface for the admin to actually add a new task that follows the above. Not quite sure how that squares out with respect to language strings, mind, but perhaps we could have each scheduled task broken into its own subfolder with its own language strings or something. Don't know yet about that (or maybe, just add the scheduled task's name/description into the DB)






