On Fri, 13 Jul 2001 00:34:41 -0700 (PDT)
LsD NuX <[EMAIL PROTECTED]> wrote the immortal words:
>
> salut
>
> vreau sa stiu si eu (concret) cum fac ca in fiecare zi
> la ora 00:00 sa mi se execute 2 procese (2 wgeturi)
> pana dimineatza la 8.
> am inteles ca se face din crond, dar n-am nici o
> experientza cu el :( si nici timp prea mult sa invatz
> acum :(
> asa ca as dor un exemplu pe care sa-l pun direct in
> practica.
> linux root erreur kernel 2.4.5
> daca are importantza
> multumesc mult
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
se face asa
doua scripturi:
$ cat > ~/bin/wget1
wget http://from1 -optiuni &
sleep 8h
kill `ps x | grep "wget http://from1" | awk '{print $1}'`
^d
la fel faci si al doilea script
$ export EDITOR=emacs-nox
$ crontab -e
0 0 * * * /home/iamlooser/bin/wget1
0 0 * * * /home/iamlooser/bin/wget2
^x^s^x^c
sau, mai taranist
$ export EDITOR=emacs-nox
$ crontab -e
0 0 * * * /usr/bin/wget site1
0 0 * * * /usr/bin/wget site2
0 8 * * * /usr/bin/killall wget
^x^s^x^c
--
The Marius
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.