Results 1 to 2 of 2

Thread: Conky - How can I run a command once every few hours?

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    /na/usa/ca
    Beans
    153

    Conky - How can I run a command once every few hours?

    I am trying to run a command every few hours. I am trying to add an MLB score checker to my desktop. The command in question is posted here. Does anybody know of a way to do this?
    archlinux \\ amd+ati \\ subtle \\ website

  2. #2
    Join Date
    Sep 2007
    Beans
    138

    Re: Conky - How can I run a command once every few hours?

    $execi or $texeci

    If you want to get really fancy. You can make a script that adds conky variables (such as $color) to the text and use
    $execpi which will then parse the variables.

    Try both execi and texeci to see which one works better. I'm guessing texeci will, but you never know.

    The syntax should be something like...
    ${texeci 7200 lynx -nonumbers -dump http://scores.espn.go.com/mlb/scoreboard | egrep -i -A12 -B2 Toronto}

    7200 is the interval in seconds.

Bookmarks

Posting Permissions

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