Python Cron on Windows 10
-
You'll have to check your Cygwin installation and see if it is any good. That error suggests that your Cygwin does not work or is missing that DLL.
-
I would install Cygwin this way: https://chocolatey.org/packages/Cygwin
-
@scottalanmiller said in Python Cron on Windows 10:
You'll have to check your Cygwin installation and see if it is any good. That error suggests that your Cygwin does not work or is missing that DLL.
There is no DLL files seems to be missing
-
@lakshmana said in Python Cron on Windows 10:
@scottalanmiller said in Python Cron on Windows 10:
You'll have to check your Cygwin installation and see if it is any good. That error suggests that your Cygwin does not work or is missing that DLL.
There is no DLL files seems to be missing
Right, so that makes me think that your installation is bad. Try using Chocolatey to deploy it.
-
Chocolatey its blocking in the Powershell.Whether the cron can be done from the python by calling the .bat file at 8 PM everyday ?
i have installed the crontab in the python now
-
@lakshmana said in Python Cron on Windows 10:
Chocolatey its blocking in the Powershell.
Then deal with this problem. Don't get distracted trying to do something else. What's the error?
-
@scottalanmiller said in Python Cron on Windows 10:
@lakshmana said in Python Cron on Windows 10:
Chocolatey its blocking in the Powershell.
Then deal with this problem. Don't get distracted trying to do something else. What's the error?
Sorry I have tried in the User powershell Permission denied tried in Admin console of Powershell installation of Cygwin started
-
@lakshmana said in Python Cron on Windows 10:
@scottalanmiller said in Python Cron on Windows 10:
@lakshmana said in Python Cron on Windows 10:
Chocolatey its blocking in the Powershell.
Then deal with this problem. Don't get distracted trying to do something else. What's the error?
Sorry I have tried in the User powershell Permission denied tried in Admin console of Powershell installation of Cygwin started
First, make sure Chocolatey is properly installed. If not, start there.
Second, run Chocolatey from an elevated shell prompt, not as a user.And show the error, don't describe it.
-
I have installed .dll from the site but the services are not starting in that
1 [main] cygrunsrv 10264 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to
-
@lakshmana said in Python Cron on Windows 10:
I have installed .dll from the site but the services are not starting in that
1 [main] cygrunsrv 10264 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to
Can’t just grab a DLL. Doesn’t work that way.
-
I think you skipped all the steps that people were asking you to do.
-
- Open up an elevated PowerShell window:
- Enter the following command in PowerShell (it's a single line):
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Open up an elevated PowerShell window:
-
@tim_g said in Python Cron on Windows 10:
- Open up an elevated PowerShell window:
- Enter the following command in PowerShell (it's a single line):
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Now I have installed the Cygwin but the cron service or cron.exe is not opening
When I have tried to open the pycron-0.91-win32.2.zip which have the Cron.exe but the cron command prompt opens and the file cannot be editable with the timings
- Open up an elevated PowerShell window:
-
@lakshmana said in Python Cron on Windows 10:
@tim_g said in Python Cron on Windows 10:
- Open up an elevated PowerShell window:
- Enter the following command in PowerShell (it's a single line):
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Now I have installed the Cygwin but the cron service or cron.exe is not opening
When I have tried to open the pycron-0.91-win32.2.zip which have the Cron.exe but the cron command prompt opens and the file cannot be editable with the timings
Wha? It's Cygwin....
Step 1: Open Cygwin
Step 2:crontab -e
That's it. You can't run most of the .exe files included in cygwin as if it's an actual program, it must be run from cygwin like you would in a BASH shell.
- Open up an elevated PowerShell window: