On 09/17/15 06:37, Antonio Olivares wrote:
> From your message Ed, I get that I would need to type a password, but if I
> issue the command(s) from terminal the machine shuts down and does not prompt
> me for anything. I was thinking also about /etc/cron.deny but one can do
> pretty much anythi
> -Original Message-
> From: ed.gres...@greshko.com
> Sent: Thu, 17 Sep 2015 05:45:17 +0800
> To: users@lists.fedoraproject.org
> Subject: Re: shutdown machine from crontab
>
> On 09/17/15 03:05, Antonio Olivares wrote:
>> Tried it and it does not poweroff ma
On 09/17/15 03:05, Antonio Olivares wrote:
> Tried it and it does not poweroff machine via crontab. However, from
> $ systemctl poweroff
>
> does poweroff machine. What could be preventing it from shutting down. I
> will try the -f option suggested also, then report back.
If you were to ssh in
On 09/16/2015 02:06 PM, Ranjan Maitra wrote:
On Wed, 16 Sep 2015 11:05:36 -0800 Antonio Olivares wrote:
-Original Message-
From: maitra.mbox.igno...@inbox.com
Sent: Tue, 15 Sep 2015 20:12:22 -0500
To: users@lists.fedoraproject.org
Subject: Re: shutdown machine from crontab
Hi
On Wed, 16 Sep 2015 11:05:36 -0800 Antonio Olivares wrote:
>
>
> > -Original Message-
> > From: maitra.mbox.igno...@inbox.com
> > Sent: Tue, 15 Sep 2015 20:12:22 -0500
> > To: users@lists.fedoraproject.org
> > Subject: Re: shutdown machine from c
> -Original Message-
> From: maitra.mbox.igno...@inbox.com
> Sent: Tue, 15 Sep 2015 20:12:22 -0500
> To: users@lists.fedoraproject.org
> Subject: Re: shutdown machine from crontab
>
> Hi,
>
> Can you try:
>
> systemctl poweroff
>
> instead of
On 09/15/2015 06:12 PM, Ranjan Maitra wrote:
Can you try:
systemctl poweroff
instead of /usr/bin/poweroff and see if that works?
It might be enough to add -f to the command line in crontab to force the
issue. And, directing the output to a file might help you to find out
why it fails.
--
Hi,
Can you try:
systemctl poweroff
instead of /usr/bin/poweroff and see if that works?
Many thanks and best wishes,
Ranjan
On Tue, 15 Sep 2015 15:55:58 -0800 Antonio Olivares wrote:
> Dear folks,
>
> I had a crontab entry to shutdown machine for a while. It had
>
> 30 16 * * 1-5 /usr/s
Dear folks,
I had a crontab entry to shutdown machine for a while. It had
30 16 * * 1-5 /usr/sbin/poweroff > 2&>1 /dev/null
and machine shutdown every weekday (mon-fri) at 4:30 pm. But I don't remember
which fedora 19/20 the crontab entry (did not work as regular user but I had to
use it as