Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222603 > unrolled thread

Re: cron problem

Started byghe <ghe@slsware.net>
First post2020-05-17 21:10 +0200
Last post2020-05-18 00:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Re: cron problem ghe <ghe@slsware.net> - 2020-05-17 21:10 +0200
    Re: cron problem David Wright <deblis@lionunicorn.co.uk> - 2020-05-18 00:50 +0200

#222603 — Re: cron problem

Fromghe <ghe@slsware.net>
Date2020-05-17 21:10 +0200
SubjectRe: cron problem
Message-ID<A7wPD-Yl-5@gated-at.bofh.it>
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 17, 2020 12:03 PM, David Wright 
<deblis@lionunicorn.co.uk> wrote:


 > I always examine my cron with
 >
 > crontab -l
 >
 > rather than just catting some random file.
 >
 > Cheers,
 > David.

Here it is, but I see no difference, except the disabled tripwire.

root@sbox:~# crontab -l
# 14 3 * * * /etc/sls/mountTripwire.sh ; /usr/sbin/tripwire -m c | mail 
-s "SBOX Tripwire Report" root@slsware.net ; /etc/sls/umountTripwire.sh
5 1 * * * /bin/cat /proc/mdstat
10 1 * * * test -x /usr/sbin/apticron && /usr/sbin/apticron --cron #apticron

-- 
Glenn English

[toc] | [next] | [standalone]


#222604

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2020-05-18 00:50 +0200
Message-ID<A7Agx-2UH-1@gated-at.bofh.it>
In reply to#222603
On Sun 17 May 2020 at 13:05:39 (-0600), ghe wrote:
> On Sunday, May 17, 2020 12:03 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
> 
> > I always examine my cron with
> >
> > crontab -l
> >
> > rather than just catting some random file.
> 
> Here it is, but I see no difference, except the disabled tripwire.
> 
> root@sbox:~# crontab -l
> # 14 3 * * * /etc/sls/mountTripwire.sh ; /usr/sbin/tripwire -m c |
> mail -s "SBOX Tripwire Report" root@slsware.net ;
> /etc/sls/umountTripwire.sh
> 5 1 * * * /bin/cat /proc/mdstat
> 10 1 * * * test -x /usr/sbin/apticron && /usr/sbin/apticron --cron #apticron

OK, I thought you might list both. I'm not actually sure where output
goes because I always have MAILTO set, which takes care of it.

Have you checked the logs? I see lines in both auth.log and syslog
whenever cron jobs run, and even when I just look with   crontab -l.

Cheers,
David.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web