OSError: [WinError 193] %1 is not a valid Win32 application python Cron - Stack Overflow

admin2025-04-17  4

I am trying to schedule a python script to run daily. i have imported below modules.

import os 
import os.path
from pathlib import Path
from crontab import CronTab

Then when i try to run this command

my_cron = CronTab(user='username')

I get the error.

OSError: [WinError 193] %1 is not a valid Win32 application

Please let me know how i can resolve this

转载请注明原文地址:http://www.anycun.com/QandA/1744902290a89237.html