Dear all,

Saya punya bash script yang coba ingin saya jalankan via cron. Kalau
dijalankan secara manual, scriptnya jalan ok, tapi pas di schedule di
cron, dari log terlihat kalo scriptnya di jalankan, tapi nggak ada hasil
apa2.

Berikut script yang saya buat :

#!/bin/bash

for i in `mailq|egrep '{[0-9]|!}'|awk '{print $1}'|sed -e 's/!//g' -e
'/-/d' -e '/@/d'`; do
postsuper -H $i
postqueue -i $i
sleep 5
done

isi crontab -e

PATH=/sbin:/bin:/usr/sbin:/usr/bin
HOME=/
MAILTO=root

45 11 * * * /etc/release-digest.sh > /dev/null 2>&1

Mohon bantuannya.

-- 
- Cygnus -

'Veritas vos liberabit'


-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ITCENTER/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Kirim email ke