src/cron/cron_manager.py
def update_cron_file(self):
        """
        Method for updating cron file, based on
        the contents of the list.
        """
        with open('/var/spool/cron/crontabs/root', 'w') as f:
            for job in self.jobList:
                f.write(self.generate_command(job))
        os.system("touch /var/spool/cron/crontabs")

        Method for updating cron file, based on
        the contents of the list.
        
Method for updating cron file, based on
the contents of the list.
Method for updating cron file based on the contents of the list .
def update_cron_file(self):
        with open('/var/spool/cron/crontabs/root', 'w') as f:
            for job in self.jobList:
                f.write(self.generate_command(job))
        os.system("touch /var/spool/cron/crontabs")
def update_cron_file ( self ) : with open ( '/var/spool/cron/crontabs/root' , 'w' ) as f : for job in self . jobList : f . write ( self . generate_command ( job ) ) os . system ( "touch /var/spool/cron/crontabs" )
Method for updating cron file, based on
the contents of the list.
Method for updating cron file based on the contents of the list .
"""
        Method for updating cron file, based on
        the contents of the list.
        """
self