Lightbulb Script request?

Dont know if in wrong thread, but i have task bomb with script launcher and sl4a. Can i get a script written that i can schedual for device to auto recovery, backup, delete previus back up and reboot? Is this possible? Im running bad boys rom with my hub and when i install a mod it puts device into recovery, installs, and reboots without me doing anything, thats what got me thinking.

Your thoughts welcome.

Thanks.

Sprint
HTC One M7
DIRTY FLASHER
S-off
Rooted