ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Python Cron on Windows 10

    IT Discussion
    5
    15
    3.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana
      last edited by

      Since I am facing issue in Task Scheduler in Windows 10 I am going to the Python Cron which requires Cygwin.I have installed Cygwin in the machine where the Cron is installed in the machine but I am facing issue while opening the crontab i am getting the below error

      code execution cannot proceed because cygwin1.dll was not found

      Where the Cygwin using is from the internal version not from internet

      Installed this Software from https://sourceforge.net/projects/pycron/

      Any inputs from the person who tried these things in the Windows can help me on this ?

      I have reinstalled Cygwin three times but no luck

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        LakshmanaL 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          I would install Cygwin this way: https://chocolatey.org/packages/Cygwin

          1 Reply Last reply Reply Quote 2
          • LakshmanaL
            Lakshmana @scottalanmiller
            last edited by

            @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

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Lakshmana
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • LakshmanaL
                Lakshmana
                last edited by

                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

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Lakshmana
                  last edited by

                  @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?

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @scottalanmiller
                    last edited by

                    @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

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Lakshmana
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • LakshmanaL
                        Lakshmana
                        last edited by

                        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

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Lakshmana
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • Reid CooperR
                            Reid Cooper
                            last edited by

                            I think you skipped all the steps that people were asking you to do.

                            1 Reply Last reply Reply Quote 0
                            • ObsolesceO
                              Obsolesce
                              last edited by Obsolesce

                              1. Open up an elevated PowerShell window:
                                0_1521728868688_d719266a-deff-4865-a4c4-87fcb6b47528-image.png
                              2. 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'))
                              
                              LakshmanaL 1 Reply Last reply Reply Quote 1
                              • LakshmanaL
                                Lakshmana @Obsolesce
                                last edited by

                                @tim_g said in Python Cron on Windows 10:

                                1. Open up an elevated PowerShell window:
                                  0_1521728868688_d719266a-deff-4865-a4c4-87fcb6b47528-image.png
                                2. 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

                                travisdh1T 1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1 @Lakshmana
                                  last edited by

                                  @lakshmana said in Python Cron on Windows 10:

                                  @tim_g said in Python Cron on Windows 10:

                                  1. Open up an elevated PowerShell window:
                                    0_1521728868688_d719266a-deff-4865-a4c4-87fcb6b47528-image.png
                                  2. 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.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post