def METHOD_NAME(externalApp, line):
    try:
        line -= 1
        if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
            cronPath = "/var/spool/cron/" + externalApp
        else:
            cronPath = "/var/spool/cron/crontabs/" + externalApp
        data = open(cronPath, 'r').readlines()
        counter = 0
        writeToFile = open(cronPath, 'w')
        for items in data:
            if counter == line:
                removedLine = items
                counter = counter + 1
                continue
            else:
                writeToFile.writelines(items)
            counter = counter + 1
        writeToFile.close()
        print("1," + removedLine)
    except BaseException as msg:
        print("0," + str(msg))