I know that this was asked several times, but I don't know what to do... I've tried all the solutions proposed on AskUbuntu, but with no results...
So... I have this shell script in my home /home/napolux:
#!/bin/bash
NOW=$(date +"%Y%m%d-%T")
cutycapt --url=http://example.com --out=/home/napolux/screens/yc.$NOW.png
The crontab is this:
* * * * * /home/napolux/yc-screens > /dev/null
cutycapt is a small command line tool that takes screenshots of webpages. The script (and the destination folder /home/napolux/script) as 777 permissions with execution flag.
The script is correct: by calling it via shell I can get the screenshot.
In /var/log/syslog I see the job running every minute.
May 18 20:13:01 ubu CRON[2649]: (CRON) info (No MTA installed, discarding output)
May 18 20:14:01 ubu CRON[2657]: (napolux) CMD (/home/napolux/yc-screens > /dev/null)
May 18 20:14:01 ubu CRON[2656]: (CRON) info (No MTA installed, discarding output)
May 18 20:15:01 ubu CRON[2662]: (napolux) CMD (/home/napolux/yc-screens > /dev/null)
May 18 20:15:01 ubu CRON[2661]: (CRON) info (No MTA installed, discarding output)
So, what can I do???