Skip to content

Status Window does not close when output redirected #9

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create crontab entry in Cronnix using > or >> to redirect standard output. 
(e.g. 0 7 * * * /scripts/test.sh >> /log/testlog
2. Click on Task --> Run
3. Status window opens and displays the following:

Running command
/scripts/test.sh >> /log/testlog
The output will appear below when the command has finished executing

4. The output is not displayed because it has been redirected and the status 
window never closes until the user closes the window manually, which can be 
difficult unless the user does a ps -A |grep test.sh to determine if the 
process is done running.

What is the expected output? What do you see instead?

I can take a guess at two things that cronnix could do in this case:
1. perform a ps-A |grep for the shell script and close the window when the 
process no longer is found.
2. Cat the redirected output to the display window and then close the window 
once the process is complete.


What version of the product are you using? On what operating system?
Version 3.0.2 (3.0.2)

Please provide any additional information below.

cronnix is being used on a late 2009 Mac Pro running Snow Leopard Server 10.6.6

Original issue reported on code.google.com by snyder.j...@gmail.com on 10 Feb 2011 at 3:10

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions