20 lines
383 B
Python
Executable File
20 lines
383 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
from apscheduler.schedulers.background import BlockingScheduler
|
|
from func import *
|
|
|
|
def start():
|
|
try:
|
|
kill()
|
|
except FileNotFoundError:
|
|
setWallPaper()
|
|
|
|
setWallPaper()
|
|
|
|
if __name__ == '__main__':
|
|
start()
|
|
|
|
sched = BlockingScheduler()
|
|
sched.add_job(start,'interval',minutes=configParsing()['value'])
|
|
sched.start()
|