[CentOS] Delaying systemd reboot for a while

Thu May 14 03:44:58 UTC 2015
Martin Cigorraga <martincigorraga at gmail.com>

Hello Carlos,
You can try the 'at' command to achieve the same result.
Regards,
-Martín
On May 14, 2015 12:13 AM, "Carlos A. Carnero Delgado" <
carloscarnero at gmail.com> wrote:

> Hi,
>
> I'm in need of rebooting a server 1 minute after I give the command. I'm
> used to
>
> shutdown -r +1
>
>
> which works as advertised. Now that shutdown is part of systemd
> <http://www.freedesktop.org/software/systemd/man/shutdown.html> and it is
> actually a link to it in CentOS 7, I've seen in the documentation
> <
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Power.html
> >
> that I can also use
>
> systemctl reboot
>
>
> But I can't find a way to provide a time specification in this latter form.
> What's the correct incantation?
>
> TIA,
> Carlos.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>