shutdown machine from crontab

Ranjan Maitra maitra.mbox.ignored at inbox.com
Wed Sep 16 21:06:22 UTC 2015


On Wed, 16 Sep 2015 11:05:36 -0800 Antonio Olivares <wingators at inbox.com> wrote:

> 
> 
> > -----Original Message-----
> > From: maitra.mbox.ignored at inbox.com
> > Sent: Tue, 15 Sep 2015 20:12:22 -0500
> > To: users at lists.fedoraproject.org
> > Subject: Re: shutdown machine from crontab
> > 
> > Hi,
> > 
> > Can you try:
> > 
> > systemctl poweroff
> > 
> > instead of /usr/bin/poweroff and see if that works?
> > 
> > Many thanks and best wishes,
> > Ranjan
> > 
> 
> Ranjan,
> 
> 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.
> 
> Best Regards,
> 

Sorry, I do not have any idea:  you could try /usr/bin/systemctl poweroff but this is just a random stab...

Ranjan

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth




More information about the users mailing list