Added the schedul reboot apis for tags and agents