0

I try this code, it runs proberly but doesnt kill chrome browser. What am i doing wrong?

    import schedule
    import time

def job():
    print("Kill Chrome in Progress..")
    'pkill chrome'
    print("Sucessfully killed Chrome")
schedule.every(0.5).minutes.do(job)

while 1:
    schedule.run_pending()
    time.sleep(1)

0 Answers0