Hello,
        I have found that arp produces no output if arp is in a script called
by a file in cron.d in Red Hat Linux 7.2 using /bin/bash.
1) arp from the command line produces the expected output
2) in a script
        V1=`arp`; echo $V1 > out
   produces the expected output in the file named "out"
3) the same script called by cron by placing a file in /etc/cron.d
produces no output in the file named "out"
4) if I substitute
        cat /proc/net/arp
   for arp then I get output from a script called from cron

My question is "Why does arp behave differently when in a script called
by cron?"

        Thanks very much,
Jerry
-- 
Gerald W. Gordon, Ph.D.
Department of Cell and Developmental Biology
Taylor Hall, CB 7090
University of North Carolina
Chapel Hill, NC 27599

919/966-2941 (vox)
919/966-1856 (fax)
[EMAIL PROTECTED] (email)
_______________________________________________
TriLUG mailing list
    http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ:
    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html

Reply via email to