LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2005, 06:51 AM   #1
donhare
LQ Newbie
 
Registered: Mar 2004
Location: Oktoberfest City, Bavaria, Germany
Distribution: Mandrake 10.0 Official, Ubuntu 5.04 on Acer Travelmate
Posts: 12

Rep: Reputation: 0
set cronjob environment


Hi,

i have a cronjob running which executes a script containing ant-jobs. Obviously, the script runs smoothly, but strangely enough, as a result, nothing has changed (script should initialize certain values within a JBoss-hosted application).

Running the script as root delivers the proper result.

My suspicion is that the path / environment is not set correctly through the cron job. May that be the cause? How can i set certain environment parameters for a cronjob?

Thanks beforehand!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i set environment variables? guitarfella Slackware 2 12-04-2004 11:05 PM
How to set environment variables anjaan Linux - General 3 06-10-2004 02:04 PM
Help with the currently set environment variables!! apoc013 Linux - Newbie 6 01-21-2004 01:28 AM
How to set a environment variable in rh? yenonn Linux - Newbie 11 02-21-2003 10:24 PM
how do you set the environment variable CC? mr.moto Linux - General 0 12-17-2001 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration