Execute cron job every one minute with log file python Copy 1*/1 * * * * /path/to/script.sh > /path/to/log.txt 2>&1 Share this: