Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Setting The Shell In Cron, Sepcifying the shell to use for crontab
jacknife
post Nov 24 2005, 11:19 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 24-November 05
Member No.: 5,776



I'm trying to set up a cronjob that will use my bash_profile. I need to check new files out of CVS and then build them. All the environment variables are set in my bash_profile, but I can't get cron to load it up before starting the cronjob.

In the program I output a list of the environment variables and BASH is always set to /bin/sh instead of /bin/bash. I can change the actual SHELL setting, but it doesn't seem to work for BASH. Any ideas?

Thanks.
Go to the top of the page
 
+Quote Post

Posts in this topic
- jacknife   Setting The Shell In Cron   Nov 24 2005, 11:19 AM
- - Jim   Are you running it as a script or are you just doi...   Nov 25 2005, 02:17 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th October 2017 - 02:51 PM