10-13-2010
don't want to have a looping solution. Already doing that in the mean time and am trying to move to something a little more real time. How would i set the cron to check if the script is running or not?
@nneo
found something else on procmail another post stated
'got the result i'm looking for through .procmailrc in the ~/ directory of the user'
if that is what you are referring to then i can not find ~/ dir.
Just a reminder that i am using a cheepo web host. so i dont have root access.
I found this post that might be in the right direction
though i am not aloud to post the URL at the moment
this is the there sugestion
Look at using the /etc/aliases file - you can pipe the incoming message to a specific user into a program (or script)
looking @ my /etc/aliases is not there. So not sure how i would continue to use the above solution
Last edited by iKris; 10-13-2010 at 05:15 PM..
10 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
hi I did not received any such email for account activation nor i am able to see any status in my profile.
Am i missing anything?? :confused:
Please help
Appreciated. (0 Replies)
Discussion started by: bhush782003
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
I tried running mailx command like this:
sadm@bioinfo-z:~$ mailx foobar@gmail.com
Subject: testgmail
Some content.
.
EOT
As you can see although it is successfuly executed.
But still I can't receive email at my foobar@gmail.com
account.
What is the cause? (9 Replies)
Discussion started by: monkfan
9 Replies
3. UNIX for Dummies Questions & Answers
hi
I have a bit of a problem i need help with.
I have a script that runs no problems when i run it manually. as soon as i stick in
tester: /app/scripts/run.pl
into /etc/aliases & try to run it by sending a mail it doesnt work.
the output files are owned by daemon, which i dont like & think... (7 Replies)
Discussion started by: jojo77
7 Replies
4. Forum Support Area for Unregistered Users & Account Problems
I have tried to register and got a message saying an email would be sent but no email has turned up. Could you try again please? (1 Reply)
Discussion started by: lookingfor help
1 Replies
5. UNIX for Advanced & Expert Users
hi..
I have the porblem where the email was sent but not received by users.. The message as below:-
Dec 16 11:42:04 isp postfix/smtp: A80042B4B: to=<user_name@example.com.my>,
relay=smtp.example.com.my:25, delay=890, delays=0.17/0.02/31/859, dsn=2.0.0,
status=sent (250 2.0.0 Ok: queued... (1 Reply)
Discussion started by: bh_hensem
1 Replies
6. Shell Programming and Scripting
Hi expert
I wish to start a shell script when I receive an email.
I modified the aliases file and I add this string
as400nag: "|/home/nag-script/startstop/AS400-Boot.sh
The solution works .
When the as400nag user receive an email the
/home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies
7. Forum Support Area for Unregistered Users & Account Problems
I have tried to register today with the username BatterBits, but have not received the activation email
I do not live in any of the restricted countries - unless the UK has suddenly become a threat!
I'd be grateful if you would assist.
many thanks
Ian (2 Replies)
Discussion started by: unregistered
2 Replies
8. Shell Programming and Scripting
Hello Guys,
Here is the requirement!!
I want to check the mail with attachment received or not through unix scripting.
And send an notification email when mail with attachment already received.
Any thoughts on this is much appreciated!!
Regards,
Harry (0 Replies)
Discussion started by: dharry2017
0 Replies
9. Shell Programming and Scripting
Hi Guys,
I am stuck in between and seeking help here.
Requirement: A script that will run every morning which will connect to Mysql database and run the query to inform us about the holidays (it will also check if there were any holidays during last 2 business days). So the three queries are... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
10. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
FLUSH(3) 1 FLUSH(3)
flush - Flush system output buffer
SYNOPSIS
void flush (void )
DESCRIPTION
Flushes the system write buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This attempts to push current output
all the way to the browser with a few caveats.
flush(3) may not be able to override the buffering scheme of your web server and it has no effect on any client-side buffering in the
browser. It also doesn't affect PHP's userspace output buffering mechanism. This means you will have to call both ob_flush(3) and flush(3)
to flush the ob output buffers if you are using those.
Several servers, especially on Win32, will still buffer the output from your script until it terminates before transmitting the results to
the browser.
Server modules for Apache like mod_gzip may do buffering of their own that will cause flush(3) to not result in data being sent immedi-
ately to the client.
Even the browser may buffer its input before displaying it. Netscape, for example, buffers text until it receives an end-of-line or the
beginning of a tag, and it won't render tables until the </table> tag of the outermost table is seen.
Some versions of Microsoft Internet Explorer will only start to display the page after they have received 256 bytes of output, so you may
need to send extra whitespace before flushing to get those browsers to display the page.
RETURN VALUES
No value is returned.
SEE ALSO
ob_flush(3), ob_clean(3), ob_end_flush(3), ob_end_clean(3).
PHP Documentation Group FLUSH(3)