Public bug reported: I'm trying to use run-one-constantly within a crontab to ensure a "daemon script" is always running. However, it seems that run-one- constantly doesn't stop quietly like run-one when it's already running, it just keeps runing without doing anything until the previous command finishes. If this is triggered by a frequent cron, you'd end up with a lot of processes doing nothing.
See the attached screenshot, all of the commands at the bottom are 'running' - but only one is being processed. You can see all of them in the ps aux at the top. Let me know if you need any debug information. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: run-one 1.17-0ubuntu1 ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2 Uname: Linux 3.13.0-29-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 CurrentDesktop: Unity Date: Sat Jun 7 21:48:33 2014 InstallationDate: Installed on 2014-04-04 (64 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326) PackageArchitecture: all SourcePackage: run-one UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: run-one (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages trusty ** Attachment added: "run-one-constantly.png" https://bugs.launchpad.net/bugs/1327531/+attachment/4126990/+files/run-one-constantly.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1327531 Title: run-one-constantly waiting for previous instances to end To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/run-one/+bug/1327531/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs