Hi Rafal,
You'll want to change the command to
/usr/bin/python /path/script_repo_scanner.py --bb_user bb_user
--bb_pass bb_pass --bd_log_dir /path/logs >>
/path/script_repo_scanner.py.log
Notice that &> is changed to >>
Take care,
Brian Bernard
On Thu, Oct 27, 2016 at 5:47 AM, Rafał Radecki
Hi All.
I currently have a problem with proper invocation of a python script with
cron.
non-root $ crontab -l
#Ansible: script_repo_scanner
55 11 * * * /usr/bin/python /path/script_repo_scanner.py --bb_user bb_user
--bb_pass bb_pass --bd_log_dir /path/logs &>
/path/script_repo_scanner.py.log
And
2 matches
Mail list logo