tester wrote:
Hello,
I've two problems since I updated pfSense box to the
latest version (1.2 RC2).
1) To schedule 'planned' shutdowns I used to edit
/etc/crontab by using vi through a ssh shell, but now
it seems to be a bad habit, because pfSense overwrites
it at the next reboot. I've found out I have to edit
the config.xml. Is it right?
You can do crontab -e, that will use root's "personal" crontab, and will
not interfere with /etc/crontab.
1b) Regarding 'unplanned' shutdowns: for example, if I
need to shutdown or reboot the pfSense box once at
8:00PM without the need to edit critical systems file,
I thought to use the AT unix utility, but I don't
understand what syntax I have to use. Can you help me?
echo "/my/command/path" | at "16:45" (or "now + 15 min" etc)
Cheers,
Srdjan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]