src/cron/cron_manager.py
def remove_job(self, command):
        """
        Method for removing existing jobs.
        """
        isJobFound = False
        for job in self.jobList:
            if job['command'] == command:
                self.jobList.remove(job)
                isJobFound = True

        if not isJobFound:
            raise Exception('Job does not exist and cannot be removed.')

        Method for removing existing jobs.
        
Method for removing existing jobs.
Method for removing existing jobs .
def remove_job(self, command):
        isJobFound = False
        for job in self.jobList:
            if job['command'] == command:
                self.jobList.remove(job)
                isJobFound = True
        if not isJobFound:
            raise Exception('Job does not exist and cannot be removed.')
def remove_job ( self , command ) : isJobFound = False for job in self . jobList : if job [ 'command' ] == command : self . jobList . remove ( job ) isJobFound = True if not isJobFound : raise Exception ( 'Job does not exist and cannot be removed.' )
Method for removing existing jobs.
Method for removing existing jobs .
"""
        Method for removing existing jobs.
        """
self
command