Search Results

Search: Posts Made By: mmesford
Forum: OS X (Apple) 06-27-2013
1,853
Posted By mmesford
I figured it out. What I was seeing was the...
I figured it out. What I was seeing was the normal hostname portion of the prompt. This is configured, in OS X 10.8, in /etc/bashrc. It had nothing to do with the mySQL install. I had opened...
Forum: OS X (Apple) 06-27-2013
1,853
Posted By mmesford
Command Prompt changed to "mrbigglesworth" ?!?!
I recently installed mySQL on my macbook. I opened Terminal to run mySQL and entered "cd /usr/local/mysql/bin". My command prompt immediately changed to "mrbigglesworth:". I have no idea why that...
3,515
Posted By mmesford
Okay, here's the answer, I hope it helps others...
Okay, here's the answer, I hope it helps others since it took a lot of digging:

The User field is optional. When I removed the "root" and simply left that field blank it ran fine. ...
3,515
Posted By mmesford
Well, that was an interesting question. I tried...
Well, that was an interesting question. I tried commenting out the Path statement and now I get "/bin/sh: line 1: root: command not found". So apparently cron doesn't count the lines containing...
3,515
Posted By mmesford
The problem isn't with the script. I can comment...
The problem isn't with the script. I can comment out the script and get the same problem. The problem is that cron stops at the very first line that says "SHELL=/bin/bash" and returns the fact that...
3,515
Posted By mmesford
No, I used crontab -e. I think the editor is vi.
No, I used crontab -e. I think the editor is vi.
3,515
Posted By mmesford
cron can't find bash
Hi,

I'm running OS 10.3.9 and am trying to get a cron job to work. When the hourly execution time rolls around the script doesn't run and I get an email from cron saying "/bin/bash: line 1: root:...
141,656
Posted By mmesford
Thanks Zaxxon, I had tried variations of...
Thanks Zaxxon,

I had tried variations of that. I don't really have anything to post because I was stuck at the beginning. Turns out the problem is with my understanding of procmail since your...
141,656
Posted By mmesford
reading from stdin in a shell script
Hello,

I've managed to get my .procmailrc file to work. At least it triggers a script which creates a file. But the file is empty. How do I get at the data that's been piped? I've done much...
2,344
Posted By mmesford
Hi era, thanks for the reponse. It's not clear...
Hi era, thanks for the reponse. It's not clear to me either how the script receives the email but your stdin tip is probably the key. I'll explore that. As for the rest, I may have figured out the...
2,344
Posted By mmesford
Getting the email into the script
Hi,

I'm trying to write a simple script to take an email subject line and add it to a db. I've currently given up on getting procmail to work with my hosting folks so that leaves me with a shell...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy