The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
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. |
|
|
|
Nov 25 2005, 02:17 AM
Post
#2
|
|
![]() Its GNU/Linuxhelp.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Support Specialist Posts: 1,280 Joined: 19-November 03 From: University of Minnesota- TC Member No.: 1,828 |
Are you running it as a script or are you just doing a collection of crontab entries? If you're doing it as a script it should be pretty easy to set the shell to bash. Post your script if you are doing it as a script, if not, write one, and post that.
-------------------- --Jim Lester
jim@linuxhelp.net Distro: Gentoo System: AMD Athlon 3000+ XP 2.166 GHz NVIDIA nForce2 IGP Chipset 1GB 333 MHz DDR SDRAM NVIDIA nForce2 Dual Head 64 MB Graphics Server Distro: CentOS |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 01:43 AM |