I've set a script to run every 10 minutes using cron, but it does not run. It works when I run it manually.
bin path is
The script contains:
#!/bin/bash scrot 'screenshot.png' -e 'mv $f /mnt/ftp/screenshots/'
Try to change your script as follow:
And this because the problem occur because cron uses only a very restricted set of environment variables, through which