>   Vreau sa rulez un program (ca user obisnuit) care din cand in cand mai
> crapa neasteptat. Cum fac sa ma asigur periodic (crontab ceva) ca ruleaza,
> si daca a crapat sa il repornesc?

#!/bin/sh
k=1
while [ $k -ne 0 ]; do
   prg;k=$?
   echo nu merg
done

'prg' este programul tau (poate fi si script)

-- 
-------------------------------------------------------
Constantin Vasiliu     * StipoSoft System Administrator
[EMAIL PROTECTED] * Linux Registered User #166419
-- tel:031/610215 ------------------- fax:031/610017 --

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui