Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cron and $ENV{}

Status
Not open for further replies.

piti

Technical User
Apr 12, 2001
627
0
0
SK
hi
is there any posibility to get perl use/access the environment variables (set in /etc/profile) with $ENV{} when using scripts in cron jobs?
 
You have to set all the required environment variables at the beginning of your cron job.
(Or maybe source /etc/profile, depending on your Unix shell.)
 
and any system wide setup? it's not just my problem, every user will be involved and I do not want to check this for all users ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top