Support Center > Search Results > SecureKnowledge Details
How to create a scheduled job (cron job) in Gaia with frequency of less than a day Technical Level
Symptoms
  • The user sees this error message from the command that is run by a shell script via a cron job:

    "command_name: error while loading shared libraries: libcplic_cntrct.so: cannot open shared object file: No such file or directory"

    Example: Bash shell script should run the fwm load Policy_Name Gateway_Name 2>&1 logfile.txt command via cron job.

    This error appears in the output logfile.txt:

    "/opt/CPsuite-R75.40VS/fw1/bin/fwm: error while loading shared libraries: libcplic_cntrct.so: cannot open shared object file: No such file or directory"

Cause

The command relies on Check Point environment variables which were not loaded by the Bash script.


Solution
Note: To view this solution you need to Sign In .