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


Groups > linux.debian.user > #275429

Re: Restarting cron after crontab update

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Restarting cron after crontab update
Date 2024-12-09 16:40 +0100
Message-ID <JRO1z-fsYA-13@gated-at.bofh.it> (permalink)
References <JRqiB-eM0Z-3@gated-at.bofh.it> <JRNfb-frOB-15@gated-at.bofh.it> <JRNoR-frZW-7@gated-at.bofh.it> <JRO1z-fsYA-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 09, 2024 at 08:30:16 -0700, Charles Curley wrote:
> On Mon, 9 Dec 2024 15:59:38 +0100
> <tomas@tuxteam.de> wrote:
> 
> > Most probably cron will just see what you intended as a user
> > name as part of the command:
> > 
> >   rprice /mnt/home/rprice/bark/bark.sh  11 > /dev/null 2>&1
> > 
> > will run the command "rprice" on the args "/mnt..."; most of
> > the time this will be a "no such file or so-and-so", sometimes
> > it might lead to surprising results ;-)
> 
> In which event cron will send a complaining email to the appropriate
> user. Since Mr. Price hasn't mentioned any such emails, I conjecture he
> is not monitoring his emails in /var/mail, and probably should be.

The redirections >/dev/null 2>&1 are discarding all the output, so there
is nothing to be sent to his email.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-08 11:30 +0100
  Re: Restarting cron after crontab update Michael Kjörling <c9bc136c6063@ewoof.net> - 2024-12-08 12:10 +0100
  Re: Restarting cron after crontab update debian-user@howorth.org.uk - 2024-12-08 13:30 +0100
    Re: Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-08 14:20 +0100
      Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-08 15:20 +0100
        Re: Restarting cron after crontab update Roger Price <roger@rogerprice.org> - 2024-12-09 15:50 +0100
          Re: Restarting cron after crontab update <tomas@tuxteam.de> - 2024-12-09 16:00 +0100
            Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 16:40 +0100
              Re: Restarting cron after crontab update Roger Price <debian@rogerprice.org> - 2024-12-09 17:50 +0100
              User "nut" (Was Re: Restarting cron after crontab update) Roger Price <debian@rogerprice.org> - 2024-12-09 18:00 +0100
              Re: Restarting cron after crontab update Darac Marjal <lists-debian-user@bendel.debian.org> - 2024-12-09 18:10 +0100
                Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 19:50 +0100
            Re: Restarting cron after crontab update Greg Wooledge <greg@wooledge.org> - 2024-12-09 16:40 +0100
              Re: Restarting cron after crontab update Charles Curley <charlescurley@charlescurley.com> - 2024-12-09 18:00 +0100
            Re: Restarting cron after crontab update Charles Curley <charlescurley@charlescurley.com> - 2024-12-09 16:40 +0100

csiph-web