On Sun, Oct 12, 2003 at 03:45:27PM +0300, Mikhael Goikhman wrote:
> On 12 Oct 2003 13:59:32 +0200, Marcin G?ogowski wrote:
> >
> > How to configure FvwmModule to exec a system command after a timeout?
> > For now I can execute only built in commands like quit, but it is
> > impossible to execute "Exec exec "reboot"" command.
>
> Why is it impossible to execute reboot giving you have root permissions?
>
> If you only want a delay for external shell commands then this will do it:
>
> Exec sleep 300; reboot
>
> BTW, shutdown has -t parameter for this. But sleep works for other
> shell commands.
> In 2.5.x you may postpone any fvwm command, say in 180 seconds:
>
> Schedule 180000 Quit
>
> Schedule 180000 Exec exec something
>
> See also Deschedule.
***WARNING***
This Schedule line **will not work** if you leave the machine for
lunch and no new X events are sent to fvwm! Do not schedule jobs
that must be executed exactly at the given time.
***WARNING***
Ciao
Dominik ^_^ ^_^
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Oct 13 2003 - 02:22:10 BST