Hi,

How do I make sure that a script is running the same commands that the user 
owning the crontab from where I am running it?
Example: As it seems, when I run the same script from bash, manually i.e. 
/usr/gnu/bin/cp is used, and when the script is executed from cron, it will use 
/usr/bin/cp. That duality is annoying for me, as cp has different fucntions in 
both cases. What will be the best way to fix this, for the home-grown stuff 
specifically, other than finding out for each command by try-and-error.

Thanks for help.

Tonmaus
-- 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to