Re: Cron Jobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(( its as you say Dunccs how do I fix it. If its a problem with the cron,
then help fix the cron. You know better, I know you have seen the script and
how unbecoming it is becoming :), Its getting me in arms with my people what
with mail delays etc.))

well , u need to give us infor like your cron errors , hw far u have gone in
resolving wat u have discovred here , your deadends etc .But also since yo
concern  seems to be mail delays  i suggest u look @ other factors like the
bandwidth of the link , processes , etc Mail delays are a result of several
factors .Else try the archives or google or sendmail docs.

Dunccs

 > Mollat , your script looks really fine so do your cronjobs , having mail
> > collection upon connection can be a bit tricky coz it will mean should u
> not
> > connect u wll not get anything and also shuld u connect @8 in the
morning
> > and remian connected till 12 then u will not get anything in
between..But
> > having a cron will mean yo server is forced by the script (read yo
script)
> > to connect and download mails .I am sure letting cron do the trick is
the
> > best than allowing mail dequeing by connection. I would have of much
help
> if
> > u had said your cron is not running
> >
>

>
> >
> > Duncan
> >
> > ----- Original Message -----
> > From: "Anish Mathew" <nedumannilanish@xxxxxxxxxxx>
> > To: "Mollatt Ntini" <mntini@xxxxxxxxxx>; "General Red Hat Linux
discussion
> > list" <redhat-list@xxxxxxxxxx>
> > Sent: Thursday, September 16, 2004 10:55 AM
> > Subject: Re: Cron Jobs
> >
> >
> > make ur script running from the ifup-dev script located in
> > /etc/sysconfig/network-scripts. this will let u work ur script whenever
ur
> > dialup connection is up.
> >
> > Anish
> > Mollatt Ntini <mntini@xxxxxxxxxx> wrote:
> >
> > Hello,
> >
> > Guys I need your help here.I am using RHL 7.3, Dialing up to my ISP who
> > assigns me a static IP on connection. I am supposed to send an ETRN to
my
> > host server so I can get emails for my domain example.com. For this I
> wrote
> > a script which is supposed to send an ETRN and then send emails in the
> > mailq. My problem is I never seem to get it working in my crontab.
> Basically
> > I have a script written which is syncmail and a log file syncmail.log
all
> in
> > /etc/ppp/*. My script looks like this :
> >
> > #! /bin/bash
> > echo Starting the Mail Synchronisation "at: "`date` >>
> /etc/ppp/syncmail.log
> > /usr/sbin/sendmail -q
> > /etc/ppp/etrn -s hostserver.com &>/dev/null
> >
> > and my cron looks like this:
> >
> > 10 06-18 * * 1-5 /etc/ppp/syncmail
> > 10 06-18/3 * * 0,6 /etc/ppp/syncmail
> > 10 02 * * * /etc/ppp/syncmail
> >
> >
> > What I want to happen is to be able to collect mail automatically
without
> > having to push for mail manually, the cron is supposed to do that at
least
> > hourly. Any suggestions.
> >
> > thanx
> >
> > Molla.
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> > ---------------------------------
> >  ALL-NEW Yahoo! Messenger - all new features - even more fun!
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
>
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux