I run this script every week after a snapshot of my VM is made, but doesn’t seem to work. When running this by hand, it does. This should work right? I’m hoping to automate my updates.
Is the fwconsole shortcut command available from the script’s permission levels? I’ve had to point to the actual location in the filesystem for some of my crons.
will return the one that will run, cron runs in the /bin/sh environment, so
/bin/sh -c "which fwconsole"
would show what /bin/sh thinks , if it is not in the PATH of the running shell, then you need to use the fully qualified path with fwconsole (same with yum)