run-one-constantly waiting for previous instances to end

Bug #1327531 reported by Stephen Rees-Carter
6
This bug affects 1 person
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
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)

Revision history for this message
Stephen Rees-Carter (valorin) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.