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.
Excel has a function Fill/Series for that.

1. Make sure your field is formatted as Date (whichever date format you prefer)
2. Use Fill/Series (in 2010 and 2013, it's on the Home ribbon, on the very right)
3. enter a step (1?) and a unit (day?), and an end date; hit return, done.

Alternatively, you can select all cells you want it to go in, and skip the entering of the end date, it will fill the selected area.

Note that you can chose 7 days or 2 months or whatever you like for steps, not just 1 day.