GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — v5 branch - Command running cron jobs terminates · Issue #54 · shapecode/cron-bundle

v5 branch - Command running cron jobs terminates #54

New issue
Copy link
New issue
Copy link
Open
Open
v5 branch - Command running cron jobs terminates#54
Copy link

Description

@jahrsensetence
jahrsensetence
opened on Aug 25, 2022
Issue body actions

My observation is that I have jobs which have running_instances > 0 and, because of this, are then skipped and never executed again. Some of my jobs take up to four minutes, this is why I added a configuration file and set the process timeout to five minutes. Still I see the following in my log (output of the shapecode process):


 [OK] cronjob started successfully and is running in background.................

Running "app:update-most-recent-interaction-with-companies"
-----------------------------------------------------------

 [OK] cronjob started successfully and is running in background.................

Running "app:document-change-feed"
----------------------------------

 [Note] cronjob will not be executed. Next run is: Wed, 24 Aug 2022 19:50:00....
        -0400...................................................................

Summary
-------

 waiting for all running jobs ...

 // Cronjobs started at Wed, 24 Aug 2022 19:20:01 -0400.........................

Execute cronjobs
================

 [Info] Found 15 jobs...........................................................

Running "app:enrich-companies"
------------------------------

 [Note] cronjob will not be executed. Next run is: Wed, 24 Aug 2022 20:14:00....
        -0400...................................................................


The line that all jobs are finished is missing:

Summary
-------

 waiting for all running jobs ...

 [OK] All jobs are finished.....................................................

What can I do? I cannot see any error messages. My cronjob command looks as follows:

*/5 * * * * /usr/bin/docker exec hcw_php su symfony -c '/usr/local/bin/php -d memory_limit=2G /var/www/html/bin/console shapecode:cron:run' >> /tmp/shapecode.log 2>&1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.