SUMMARY: cron script

From: Gabel Martin (
Date: 08/27/03

  • Next message: "Sun Cluster 3.x"
    To: "''" <>
    Date: Wed, 27 Aug 2003 13:03:47 +0200

    Thanks everybody

    Nearly everyone told me to user absolute calls for the date command
    The "stty" call produced the SIGTTOU since no stty is attached.
    Therefore I modified the script:

    /usr/bin/date +20%y-%m-%d > ~/date.txt

    thankx again =)
    original message:

    >>Hi everybody,
    >>I've a litte script wich I'd like to start periodical as cron job. The
    script should run in background:
    >>stty -tostop
    >>date +20%y-%m-%d > ~/date.txt
    >>When lauched by hand - ./ - it produces a: "[1] + Stopped
    (SIGTTOU) &" and the "date.txt" file is empty.
    >>When started in foreground no error occures.
    >>Wen started as cron job, nothing happens.
    >>Does anyone has an idea ?
    sunmanagers mailing list

  • Next message: "Sun Cluster 3.x"

    Relevant Pages

    • Re: stty & cron
      ... > I've got some ksh scripts that when run via a cron job, ... > This doesn't happen when the script is run in a terminal session. ... stty - change and print terminal line settings ... so 'stty' can't manipulate or show the terminal settings ...
    • rlogin via expect mysteriously aborts when run from cron
      ... I'm not sure whether this is a problem related to shell, ... I have an application which, at some point, executes a zsh script. ... When investigating the output which was sent to me from the cron job ... I had one case where even a command ...
    • Re: Keystrokes go missing after script exits
      ... You can fix this with "stty ... can I put that as the last command in my script and not have the ... Probably the most general solution: Rename the original script and ... # This is broadly similar to just calling "stty sane" but it copes better ...
    • Re: How can I run cron job at 12o clock every night on my RH Linux machine?
      ... > How can I run cron job in Linux, I need to run some job automatically ... > every night at 12'o clock on my RH Linux machine. ... These four commands I need to place in that script. ...
    • Re: Cron jobs run out of memory?
      ... > (the script is attached to this e-mail). ... > cron job has failed, but running the program manually worked fine: ... -/+ buffers/cache: 169532 346776 ... Swap: 497968 274256 223712 ...