Re: Daily periodic cronjob generates core dump

2013-06-16 Thread C. L. Martinez
On Fri, Jun 14, 2013 at 2:48 PM, Greg Larkin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 6/14/13 6:26 AM, C. L. Martinez wrote: >> Hi all, >> >> I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I am >> receiving in security output this message: >> >> fbsd.domain.lo

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/14/13 6:26 AM, C. L. Martinez wrote: > Hi all, > > I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I am > receiving in security output this message: > > fbsd.domain.local kernel log messages: > > +++ /tmp/security.AT1oDecp 2013

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread C. L. Martinez
On Fri, Jun 14, 2013 at 12:30 PM, Jason Birch wrote: >> >> Uhmm .. I will try it ... but for what reason?? >> > It would be nice to see if anything else in the crontab might be causing > it. > > You can also run `periodic security` as root and see if it manfiests the > same way. Running from con

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread Jason Birch
> > > Uhmm .. I will try it ... but for what reason?? > > It would be nice to see if anything else in the crontab might be causing it. You can also run `periodic security` as root and see if it manfiests the same way. ___ freebsd-questions@freebsd.org m

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread C. L. Martinez
On Fri, Jun 14, 2013 at 12:17 PM, Robert Huff wrote: > > C. L. Martinez writes: > >> > Have you added anything to the default system crontab? Are >> >> I have added a script to rebuild packages every week with poudriere: > > And if you comment that out? > > >

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread Robert Huff
C. L. Martinez writes: > > Have you added anything to the default system crontab? Are > > I have added a script to rebuild packages every week with poudriere: And if you comment that out? Robert Huff

Re: Daily periodic cronjob generates core dump

2013-06-14 Thread C. L. Martinez
On Fri, Jun 14, 2013 at 11:42 AM, Robert Huff wrote: > > C. L. Martinez writes: > >> I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I >> am receiving in security output this message: >> >> fbsd.domain.local kernel log messages: >> >> +++ /tmp/security.AT1oDecp 2013-06-14 03:

Daily periodic cronjob generates core dump

2013-06-14 Thread Robert Huff
C. L. Martinez writes: > I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I > am receiving in security output this message: > > fbsd.domain.local kernel log messages: > > +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.0 + > > +pid 75930 (try), uid 0: exited

Daily periodic cronjob generates core dump

2013-06-14 Thread C. L. Martinez
Hi all, I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I am receiving in security output this message: fbsd.domain.local kernel log messages: +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.0 + +pid 75930 (try), uid 0: exited on signal 10 (core dumped) pid 76241 +(

Re: Cronjob Cvsup -> What?

2013-01-27 Thread RW
On Sun, 27 Jan 2013 09:51:12 -0500 MFV wrote: > Hello Matthew, > > Thanks for an outstanding piece of documentation. It resolves a > number of concerns I had and convinced me to move from portsnap where > I discovered an apparent bug that gave me security concerns. More > specifically I manual

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Warren Block
On Sun, 27 Jan 2013, Matthew Seaman wrote: 2) Choose a protocol for access the SVN servers. Your choices in order of preference are svn:// https:// http:// Use svn:// for best performance. If you're concerned about MITM attacks injecting trojans into the

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Robert Huff
Steve O'Hara-Smith writes: > > The only downside with svn seems to be the 728 MB footprint. > > With hard disc space running at around 10c per gigabyte it's a > minor issue. Doesn't that depend on whose money it is? Robert Huff ___

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Steve O'Hara-Smith
On Sun, 27 Jan 2013 09:51:12 -0500 MFV wrote: > The only downside with svn seems to be the 728 MB footprint. With hard disc space running at around 10c per gigabyte it's a minor issue. -- Steve O'Hara-Smith ___ freebsd-questions@freebsd.org

Re: Cronjob Cvsup -> What?

2013-01-27 Thread MFV
Hello Matthew, Thanks for an outstanding piece of documentation. It resolves a number of concerns I had and convinced me to move from portsnap where I discovered an apparent bug that gave me security concerns. More specifically I manually edited /usr/ports/UPDATING and portsnap did not recog

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Zyumbilev, Peter
On 27/01/2013 12:46, Matthew Seaman wrote: > Cheers, > > Matthew > Matthew, Fantastic howto ! Thanks ! Really a good job...as usual :-) Peter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fre

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 10:07, Mike Clarke wrote: > I suppose the best approach with ZFS would be to make a snapshot immediately > prior to running portsnap. Yes. That would do the trick quite neatly. In fact, snapshot before each time you run portsnap. Cheers Matthew -- Dr Matthew J

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 08:35, Zyumbilev, Peter wrote: > Last 10 years I am using cvsup. Any good guide for the transition to > subversion ? Most of the guides around freebsd.org are aimed at developers who will be using SVN read-write. For simple read-only use (ie. not checking anything into the reposito

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Mike Clarke
On Sunday 27 Jan 2013 09:46:51 Matthew Seaman wrote: > to get yourself a portsnap-ready copy of the ports tree. You only need > to do that once, but you should move aside any pre-existing copy of > /usr/ports obtained by any means other than portsnap(8) before you do > (but keep anything under /u

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Matthew Seaman
On 27/01/2013 00:11, W. D. wrote: > What would be the best Cron command to keep ports updated on a daily > basis? Try this as a crontab entry: 0 3 * * * * /usr/sbin/portsnap cron update Two points to note: 1) The 'cron' verb is important for anyone setting up an automated job like this.

Re: Cronjob Cvsup -> What?

2013-01-27 Thread Zyumbilev, Peter
On 27/01/2013 06:34, Lowell Gilbert wrote: > If you needed version control features on your ports tree (especially if > you were regularly contributing changes to ports), getting and updating > your tree through subversion would have some extra features you might > want, but it doesn't sound as i

Re: Cronjob Cvsup -> What?

2013-01-26 Thread Lowell Gilbert
"W. D." writes: > According to: > > http://www.freebsd.org/news/2012-compromise.html > > Cvsup is deprecated. If I have a Cron entry like: > > #- > #Min HrDOM Mnth DOW Command > > # At 3:46 in the morning, everyday, a

Cronjob Cvsup -> What?

2013-01-26 Thread W. D.
According to: http://www.freebsd.org/news/2012-compromise.html Cvsup is deprecated. If I have a Cron entry like: #- #Min HrDOM Mnth DOW Command # At 3:46 in the morning, everyday, as root, update the ports tree: 46

Re: Newsyslog | Cronjob faulty? (fwd)

2012-05-27 Thread Ian Smith
esile) -- Forwarded message -- Date: Sat, 19 May 2012 05:03:23 +1000 (EST) From: Ian Smith To: Jos Chrispijn Cc: freebsd-questions@freebsd.org Subject: Re: Newsyslog | Cronjob faulty? In freebsd-questions Digest, Vol 415, Issue 4, Message: 12 On Wed, 16 May 2012 21:44:53 +0200 Jos Chrispijn

Re: Newsyslog | Cronjob faulty?

2012-05-18 Thread Ian Smith
In freebsd-questions Digest, Vol 415, Issue 4, Message: 12 On Wed, 16 May 2012 21:44:53 +0200 Jos Chrispijn wrote: > At midnight (00.00) I run this cronjob from my crontab: > > Crontab: > 00 * * * * rootnewsyslog By 'my' cr

Newsyslog | Cronjob faulty?

2012-05-16 Thread Jos Chrispijn
At midnight (00.00) I run this cronjob from my crontab: Crontab: 00 * * * * rootnewsyslog For some reason this goes wrong; (if I run 'newsyslog' on any other time, there is no error message). bzip2: Can't open input file /var/log/mai

Re: Cronjob

2009-06-11 Thread Danijel Tasov
Paul Chvostek wrote: > 0 1 28-31 * * test `date -v+1d '+%d'` -eq 1 && /path/to/script You have to escape the percent sign in crontab with "\": run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specif

Re: Cronjob

2009-06-09 Thread Jos Chrispijn
Mike Jeays wrote: Isn't that a linuxism? Looking at the man pages for the date command for FreeBSD, it looks as if 'date -v+1d' will return tomorrow's date (and it does, I checked). The -d option is to do with daylight saving time. - eot- I see; will have that incorporated in the script. Tha

Re: Cronjob

2009-06-09 Thread Peter Andreev
yes, you're right, thank you/ the right version will be: * * 31 1,3,5,7,8,10,12 * * * 30 4,6,9,11 * * * 28,29 2 * 2009/6/9 Jonathan McKeown > On Monday 08 June 2009 17:37:14 Jerry McAllister wrote: > > On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: > > > may be this solution wil

Re: Cronjob

2009-06-09 Thread Jonathan McKeown
On Monday 08 June 2009 17:37:14 Jerry McAllister wrote: > On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: > > may be this solution will help you: [snip] > > > > * * 31 1/2 * > > * * 30 4/2 * > > * * 28 2 * This isn't right, surely? It goes wrong in August and stays wrong for the res

Re: Cronjob

2009-06-08 Thread Mike Jeays
-- Mike Jeays http://www.jeays.ca http://www.rotarycpmm.ca On June 8, 2009 02:56:31 pm Jos Chrispijn wrote: > Found another solution (for running @ 23:58): > > 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ] && /myscript > > thanks for all other suggestions, > Jos Chrispijn > > _

Re: Cronjob

2009-06-08 Thread Jos Chrispijn
Found another solution (for running @ 23:58): 58 23 * * * [ `date -d tomorrow +%d` -eq '01' ] && /myscript thanks for all other suggestions, Jos Chrispijn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Cronjob

2009-06-08 Thread Karl Vogel
>> On Mon, 08 Jun 2009 14:55:56 +0200, >> Jos Chrispijn said: J> I would like to execute a script on every last day of the month in my J> crontab. Can someone tell me how I should solve that as it doesn't know J> which month day is the last day of the month? Solving this in the script J> to be

Re: Cronjob

2009-06-08 Thread Warren Block
On Mon, 8 Jun 2009, Jerry McAllister wrote: On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: may be this solution will help you: * * 31 jan,mar,may,jul,aug,oct,dec * * * 30 apr,jun,sep,nov * * * 28 feb * or: * * 31 1/2 * * * 30 4/2 * * * 28 2 * Don't forget leapyear. 0 0 1

Re: Cronjob

2009-06-08 Thread Jerry McAllister
On Mon, Jun 08, 2009 at 06:31:57PM +0400, Peter Andreev wrote: > may be this solution will help you: > > * * 31 jan,mar,may,jul,aug,oct,dec * > * * 30 apr,jun,sep,nov * > * * 28 feb * > > or: > > * * 31 1/2 * > * * 30 4/2 * > * * 28 2 * Don't forget leapyear. jerry > > 2009/6/8 Jos Chr

Re: Cronjob

2009-06-08 Thread Peter Andreev
may be this solution will help you: * * 31 jan,mar,may,jul,aug,oct,dec * * * 30 apr,jun,sep,nov * * * 28 feb * or: * * 31 1/2 * * * 30 4/2 * * * 28 2 * 2009/6/8 Jos Chrispijn > I would like to execute a script on every last day of the month in my > crontab. > Can someone tell me how I should

Re: Cronjob

2009-06-08 Thread Paul Chvostek
gt; Solving this in the script to be executed is no option. The only solutions I see are the three-cronjob approach: 0 1 31 1,3,5,7,8,10,12 * /path/to/script 0 1 28 2 * /path/to/script 0 1 30 4,6,9,11* /path/to/script Alternately, you could do this with a single cron

Re: Cronjob

2009-06-08 Thread Wojciech Puchar
put 12 lines, for each month and with the last day. On Mon, 8 Jun 2009, Jos Chrispijn wrote: I would like to execute a script on every last day of the month in my crontab. Can someone tell me how I should solve that as it doesn't know which month day is the last day of the month? Solving this

Re: Cronjob

2009-06-08 Thread Steve Bertrand
Jos Chrispijn wrote: > I would like to execute a script on every last day of the month in my > crontab. > Can someone tell me how I should solve that as it doesn't know which > month day is the last day of the month? > Solving this in the script to be executed is no option. I've done this before.

Re: Cronjob

2009-06-08 Thread Neal Hogan
On Mon, Jun 8, 2009 at 7:55 AM, Jos Chrispijn wrote: > I would like to execute a script on every last day of the month in my > crontab. > Can someone tell me how I should solve that as it doesn't know which month > day is the last day of the month? If it really needs to be done on the last day

Cronjob

2009-06-08 Thread Jos Chrispijn
I would like to execute a script on every last day of the month in my crontab. Can someone tell me how I should solve that as it doesn't know which month day is the last day of the month? Solving this in the script to be executed is no option. Thanks, Jos __

Re: setup cronjob

2008-09-11 Thread CyberLeo Kitsana
Darrell Betts wrote: > I have wrote a small script put it in my home directory. I am trying to > setup a cronjob to run it every six hours. When it runs the job I > receive the error message " /usr/home/test/cronjobs/test.sh: not found" > I have tripe checked the file permi

Re: setup cronjob

2008-09-11 Thread Sahil Tandon
Darrell Betts <[EMAIL PROTECTED]> wrote: > I have wrote a small script put it in my home directory. I am trying to > setup a cronjob to run it every six hours. When it runs the job I > receive the error message " /usr/home/test/cronjobs/test.sh: not found" > I

Re: setup cronjob

2008-09-11 Thread RW
On Thu, 11 Sep 2008 22:12:35 -0400 Darrell Betts <[EMAIL PROTECTED]> wrote: > I have wrote a small script put it in my home directory. I am trying > to setup a cronjob to run it every six hours. When it runs the job I > receive the error message " /usr/home/test/c

setup cronjob

2008-09-11 Thread Darrell Betts
I have wrote a small script put it in my home directory. I am trying to setup a cronjob to run it every six hours. When it runs the job I receive the error message " /usr/home/test/cronjobs/test.sh: not found" I have tripe checked the file permissions and they appear corre

Re: [freebsd-questions] cronjob - email messages sent

2008-04-07 Thread D Hill
On Mon, 7 Apr 2008 at 09:38 -0400, [EMAIL PROTECTED]: D Hill <[EMAIL PROTECTED]> writes: I have several cronjob's set up on a server we have under the user root. I need to specify specific email addresses results are sent to. Using documentation from: man 5 crontab I thought I could surro

cronjob - email messages sent

2008-04-04 Thread D Hill
I have several cronjob's set up on a server we have under the user root. I need to specify specific email addresses results are sent to. Using documentation from: man 5 crontab I thought I could surround the jobs: ... MAILTO="root,someoneelse" @hourly /usr/local/bin/mysqladmin -u inte

Re: Expunging IMAP mailbox via cronjob : possible?

2006-10-08 Thread Garrett Cooper
Garrett Cooper wrote: I know this isn't really a FreeBSD question, but I was wondering if there was a means available where I can expunge my email automatically from my IMAP inboxes / folders (I have a wide variety of custom folders). I just find it tedious logging in via SSH to each host wi

Expunging IMAP mailbox via cronjob : possible?

2006-10-08 Thread Garrett Cooper
I know this isn't really a FreeBSD question, but I was wondering if there was a means available where I can expunge my email automatically from my IMAP inboxes / folders (I have a wide variety of custom folders). I just find it tedious logging in via SSH to each host with pine and expunging

Problem with cronjob

2005-06-02 Thread Robert Fitzpatrick
Always worked well when I dump a script into the /etc/periodic/daily folder and set permissions to have a script run automatically each night. But this is not working for the Spamassassin rulesdujour script. I can run the script manually, no problem, any ideas? Here is the bottom of that directory,

Re: cronjob doesn't run???

2004-12-27 Thread Tom Vilot
Might be a path issue. I had similar issues with cron (/etc/periodic/daily) if I didn't use a full path to the binaries. :c( i have an odd problem with this cronjob, #!/bin/sh cd /home/timothy burncd -f /dev/acd0c blank tar -zcvf ./burning/thunderbird.tar.gz ./.thunderbird/* tar

cronjob doesn't run???

2004-12-27 Thread Timothy Smith
i have an odd problem with this cronjob, #!/bin/sh cd /home/timothy burncd -f /dev/acd0c blank tar -zcvf ./burning/thunderbird.tar.gz ./.thunderbird/* tar -zcvf ./burning/Projects.tar.gz ./Projects/* tar -zcvf ./burning/cvsd.tar.gz /usr/local/cvsd/* mkisofs -L -l -relaxed-filenames -o tmp.iso

Re: save-entropy cronjob "Added: not found" every 10 minutes

2004-07-19 Thread Duane Winner
Thanks! Using your technique, I discovered that I stupidly forgot to put a '#' before one of my comments in /etc/rc.conf. Dan Nelson wrote: In the last episode (Jul 19), Duane Winner said: Does anybody know what is going on with the cronjob /usr/libexec/save-entropy that by default is

Re: save-entropy cronjob "Added: not found" every 10 minutes

2004-07-19 Thread Dan Nelson
In the last episode (Jul 19), Duane Winner said: > Does anybody know what is going on with the cronjob > /usr/libexec/save-entropy that by default is scheduled to run every > 10 minutes? > > I'm getting tons of log mail because of this, but I don't want to > just com

save-entropy cronjob "Added: not found" every 10 minutes

2004-07-19 Thread Duane Winner
Hello, Does anybody know what is going on with the crobjob /usr/libexec/save-entropy that by default is scheduled to run every 10 minutes? I'm getting tons of log mail because of this, but I don't want to just comment out the cronjob because it is annoying. It is only happening on