OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: Seedman on May 05, 2026, 03:34:17 PM

Title: WOL Cron Job returned error (1)
Post by: Seedman on May 05, 2026, 03:34:17 PM
Hi,

I've been using the OS-WOL plug-in on OPNsense, with a daily cron job to wake my server from sleep for the last 2 years.
This has worked flawlessly from 24.7 all the way to 26.1.6.

The cron job started failing ever since I upgraded to 26.1.7 on the 1st of May 2026.

I can still wake my server up from the GUI Services - WOL. However the cron job fails. When I check the logs under system - log files - backend I get a "wol wake 192.168.50.255 xx:xx:xx:xx:xx:xx] returned Error (1) message.

I find this strange as I haven't made any changes to the WOL Cron Job in over 2 years and it now fails every time.

Just so its clear the parameters for the cron job were :- 192.168.50.255 MAC_ADDRESS

Any help on this would be greatly appreciated.
Title: Re: WOL Cron Job returned error (1)
Post by: franco on May 05, 2026, 06:05:21 PM
Please update to the latest hotfix.


Cheers,
Franco
Title: Re: WOL Cron Job returned error (1)
Post by: Seedman on May 05, 2026, 08:51:46 PM
Thank you for your reply.

I've already updated to the latest hotfix 26.1.7_3 but the behaviour seems unchanged.

Title: Re: WOL Cron Job returned error (1)
Post by: franco on May 05, 2026, 09:25:25 PM
Aha, I see it now. You need to put each parameter on a separate line since 26.1.7. Right now it pushes "192.168.50.255 MAC_ADDRESS" because it's a single line.

This was changed to allow empty parameters and parameters with whitespaces plus longer parameters.


Cheers,
Franco