Does it make sense to use "nohup" in crontab?

Discussion in 'Linux Networking' started by Mark Sullivan, May 24, 2008.

  1. Usually the user uses "nohup" for two purposes when entering a command:

    The command should not block the terminal and secondly the command should
    continue to run even when the user logs out.

    When I put now a command in the cronfile and start the crontab then using a nohup
    seems to me not necessary because no terminal is blocked and the command is performde as service.

    Is this view correct?

    Or are there any scenarios when I should use nohup in crontab commands anyway?

    Mark
     
    Mark Sullivan, May 24, 2008
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.