Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, Could anyone explain me why firefox is not started if I use scheduler command 'at'. I can start firefox from terminal. But when I use 'at hours:min' it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    2

    [SOLVED] at command doesn't start firefox


    Hi all,

    Could anyone explain me why firefox is not started if I use scheduler command 'at'. I can start firefox from terminal. But when I use 'at hours:min' it doesn't start. I tried 'firefox &' but it doesn't start too. If instead of 'firefox' I use 'mv fileName1 fileName2' the file is renamed as expected.

    Code:
    at now
    warning: commands will be executed using /bin/sh
    at> firefox &
    at> <EOT>
    (it works with other commands)

    Thanks,
    Jonas

  2. #2
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,533
    Try this which tells it which display to use and the full path to the binary:

    Code:
    at 2000 <<_EOF_
    DISPLAY=:0.0 /usr/bin/firefox
    _EOF_
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  3. #3
    Just Joined!
    Join Date
    May 2011
    Posts
    2
    Thanks! But it's strange for me that it's different than running from terminal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •