cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post

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?

Tags (2)
1 Reply
Highlighted
Admin
Admin

Re: checkpoint for linux in script and crontab

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