[wellylug] Cron + scripting
Jamie Baddeley
wellylug at vpc.co.nz
Sun Apr 10 22:37:16 NZST 2005
On Sun, 2005-04-10 at 21:21 +1200, Michael Dittmer (An Inside Job)
wrote:
> The reason I need to reboot the server is that after a few days it seems to
> run out of memory and crashes. If I reboot the machine at 1am everyday, then
> this will stop it from crashing.
Eww.
> I will be adding more RAM to it sometimes
> next month.
Which will just delay the inevitable.
In the interests of making sure that Linux based systems have better
uptime than Windows based systems, I'd be prepared to help with trying
to solve the problem.
Have you any idea where and why you're leaking memory? what processes is
this server running to do that? What diagnostics have you run? what does
top tell you?
Kernel version? Describe the crash please?
jamie
>
> Michael
>
> -----Original Message-----
> From: wellylug-admin at lists.wellylug.org.nz
> [mailto:wellylug-admin at lists.wellylug.org.nz] On Behalf Of Jamie Baddeley
> Sent: Sunday, April 10, 2005 8:59 PM
> To: wellylug at lists.wellylug.org.nz
> Subject: RE: [wellylug] Cron + scripting
>
> can I ask why on earth you need to reboot the machine? That sounds like a
> technique borrowed from the 'ctrl-alt-del' school of computing, and should
> be something that is avoidable on linux.
>
> jamie
>
> On Sun, 2005-04-10 at 20:51 +1200, Michael Dittmer (An Inside Job)
> wrote:
> > Hi Wayne
> >
> > I'm running SME Server 6.0.1.
> >
> > I'll take a look at man cron.
> >
> > Michael
> >
> > -----Original Message-----
> > From: wellylug-admin at lists.wellylug.org.nz
> > [mailto:wellylug-admin at lists.wellylug.org.nz] On Behalf Of Wayne
> > Koorts
> > Sent: Sunday, April 10, 2005 8:33 PM
> > To: wellylug at lists.wellylug.org.nz
> > Subject: Re: [wellylug] Cron + scripting
> >
> > > How do I write a script to do this and also how do I get cron to run
> > > the script?
> >
> > What OS is running on your file server?
> >
> > 'man cron' should give you information on how to have cron execute
> scripts.
> >
> > --
> > Regards,
> > Wayne Koorts
> > Registered Linux User #330079
> > www.wkoorts.com
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 266.9.5 - Release Date: 4/7/2005
> >
> >
> > --
> > Wellington Linux Users Group Mailing List:
> > wellylug at lists.wellylug.org.nz To Leave:
> > http://lists.wellylug.org.nz/mailman/listinfo/wellylug
> >
> >
> >
>
> --
> Jamie Baddeley <wellylug at vpc.co.nz>
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave: http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>
>
--
Jamie Baddeley <wellylug at vpc.co.nz>
More information about the wellylug
mailing list