Juste un petit exemple pour enregistrer
$ at -f enreg 19:59
warning: commands will be executed using (in order) a) $SHELL b) login shell c) /bin/sh
job 14 at 2003年03月10日 19:59
$ cat enreg
#!/bin/bash
wget http://unix.rulez.org:8888/fr-inter.ogg(...) &
sleep 3600
ps x --cols 1000 | grep "wget http://unix.rulez.org:8888/fr-inter.ogg(...)" | cut -b 1-6 | xargs kill
# Enregistrement
Posté par ptit_tux . En réponse à la dépêche Un nouveau stream d'OGG de France Inter. Évalué à 10.
$ at -f enreg 19:59
warning: commands will be executed using (in order) a) $SHELL b) login shell c) /bin/sh
job 14 at 2003年03月10日 19:59
$ cat enreg
#!/bin/bash
wget http://unix.rulez.org:8888/fr-inter.ogg(...) &
sleep 3600
ps x --cols 1000 | grep "wget http://unix.rulez.org:8888/fr-inter.ogg(...)" | cut -b 1-6 | xargs kill
Quelqu'un a mieux ?
PS : à usage privé !