Question: I'm trying to start `google-chrome` from cron task. Actually, I've a cron task checking every minute my chrome processes. If there is not any process. I want to start it.

Here is my cron task:

```
* * * * * export DISPLAY=:0; send-notify "`/home/myuser/.config/check_chrome.sh`"

```

I also tried:

```
* * * * * export DISPLAY=:0; /home/myuser/.config/check_chrome.sh
* * * * * export DISPLAY=:0 && /home/myuser/.config/check_chrome.sh
* * * * * google-chrome-stable -kiosk http://myawesomewebsite.com

```

Here is my `check_chrome.sh` script:

```
chrome_processes=$(pgrep chrome)
if [ "$chrome_processes" == "" ]; then
  sleep 3 && sh /home/myuser/.config/start_chrome.sh
fi

```

Here is my `start_chrome.sh` script:

```
$(google-chrome-stable -kiosk http://myawesomewebsite.com &)

```

My problem is that Chrome is never started.. 

When I check `/var/log/syslog` I can read the following sentence:

```
(CRON) info (No MTA installed, discarding output)

```

I'm not sure if it's linked to my Chrome problem or not. 

Does anyone have an idea to show this Chrome window?

**P.S : I obviously start my script manually and it's perfectly working.**

Thank you in advance.

EDIT : 

Here is my error:

```
/bin/sh: 1: send-notify: not found

```

[11940:11940:1203/142801:ERROR:browser\_main\_loop.cc(209)] Gtk: cannot open display:

Answer: 
You could try the following:

```
01/12/2015
=A1+1

```

You then click on the little extra square on the bottom right of A2 and drag down until you have the required number of days.
If you want **dd/mm/yyyy**, pick a cell and enter:

```
=DATE(2015,12,ROWS($1:1))

```

apply the proper format and then copy down:

[![enter image description here](https://i.stack.imgur.com/a58gQ.png)](https://i.stack.imgur.com/a58gQ.png)