4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
1 results tagged at x
  • How can I use an at command in a shell script? - Stack Overflow

    at now +10 minutes <<< "rm -rf /tmp/tobedeleted"

    at now +1 minutes <<< "init 6"

    /etc/init.d/networking stop && /etc/init.d/networking start

    atq

    atrm 2

    For multiline, consider a "HERE-doc"

    at now +10 minutes <<ENDMARKER
    rm -rf /tmp/tobedeleted
    echo all done | mail -s 'completion notification' sysadmin@example.com
    ENDMARKER

    October 20, 2013 at 9:46:44 PM GMT+2 - permalink - archive.org - http://stackoverflow.com/questions/15454199/how-can-i-use-an-at-command-in-a-shell-script
    at bash
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation