Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
57d322e1-c995-4
Explorer

checkpoint for linux in script and crontab

Hi, I would like to create a bash script to automatically connect my machine via checkpoint snx client.

The script actually works fine from command line but somehow the same script in crontab refuses to work.

What is the best way to provide vpn password to snx in a script?

1 Reply
PhoneBoy
Admin
Admin

The difference between running interactively and via crontab is usually the environment that is available to the process (namely $PATH and similar)

When the command is executed via crontab, you should get a mail back (if configured) telling you the result of a command run via cron.

Based on what it says, we may be able to suggest a way to make it work.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events