A few months back I needed a way to stop all jobs running on a complex BladeLogic system, but retain the ability to have all the original schedules restored at a later date. Since this seems to be coming up quite a bit in the communities, I thought I'd share my Jython code so that others can benefit from it.
The script iterates through all jobs with schedules in the system and creates a backup of them in an XML file, before deleting all schedules. It then has the ability to restore all the schedules from the XML file, as required.
Please note that this code comes with no warranty, no guarantees and no documentation, other than my inline comments. It assumes that you know what you're doing with Jython in order to use it!