run-one-constantly waiting for previous instances to end
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
run-one (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
ProcVersionSign
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)
PackageArchitec
SourcePackage: run-one
UpgradeStatus: No upgrade log present (probably fresh install)