there will be output text "foobar" on test.txt for each minute and for second line there will be environment of existing OS on /tmp/env.output
crontab -e
* * * * * /bin/echo "foobar" >> /var/repo/test-script/test.txt
* * * * * env > /tmp/env.output
0 8 * * 1-5 /var/repo/script/myfile.sh
chmod +x /var/repo/script/myfile.sh
1 foobar foobar
2 XDG_SESSION_ID=33110 SHELL=/bin/sh USER=pp PATH=/usr/bin:/bin PWD=/home/pp LANG=en_US.UTF-8 SHLVL=1 HOME=/home/pp LOGNAME=pp XDG_RUNTIME_DIR=/run/user/1000 _=/usr/bin/env
grep "PC_TRANSACTION_run.sh" /var/log/cron