Python - Run script periodically
问题 Right now I have some scripts I want to run automatically and periodically, say, every two days. The way I've structured looks something like this. Script1: def example1(): #Some Selenium code example1() Script2: def example2(): #Some more Selenium code example2() Script3: import Script1 import Script2 As you'll notice, 'Script1' and 'Script2' already call their main function, so in 'Script3' I only need to import the scripts, and not call the functions (although this works for me, I'm not