123solar stopped after reboot

Talks about solar stuff
andy
Posts: 71
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

123solar stopped after reboot

Post by andy » Tue May 15, 2018 7:51 am

I have 2 working inserters In my 123solar
(and 2 skipped)
My system reboot every day at 1:50
123solar.php started thru systemd, but stopped (I don't know why))).
If I run 123solar.php manualy (by web interface or by command in terminal) -
all worked perfect.

jeanmarc
Posts: 2022
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar stopped after reboot

Post by jeanmarc » Tue May 15, 2018 8:06 am

Hi,
Don't ever start 123s by CLI that may mess up with permission as www user later on.
Enable debug, reboot, check the error log and systemctl status 123solar for details

andy
Posts: 71
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

Re: 123solar stopped after reboot

Post by andy » Tue May 15, 2018 8:47 am

status 123solar.service

Code: Select all

systemctl status 123solar
● 123solar.service - 123Solar
   Loaded: loaded (/etc/systemd/system/123solar.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2018-05-15 02:40:12 EEST; 7h ago
  Process: 311 ExecStart=/usr/bin/curl http://localhost/123solar/scripts/boot123s.php (code=exited, status=0/SUCCESS)
 Main PID: 311 (code=exited, status=0/SUCCESS)
in log:
invt4 errors
https://pastebin.com/v8C2zyHg
123solar.err
https://pastebin.com/M2Dppbda

BUT now 123solar.php working and doesn't stop

jeanmarc
Posts: 2022
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar stopped after reboot

Post by jeanmarc » Tue May 15, 2018 10:35 am

Leave in debug mode before restarting this night to see what could happen

andy
Posts: 71
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

Re: 123solar stopped after reboot

Post by andy » Tue May 15, 2018 11:50 am

OK.
Tomorrow I will write my logs.

andy
Posts: 71
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

Re: 123solar stopped after reboot

Post by andy » Wed May 16, 2018 6:45 am

This morning the system did not start again
LOGS
123solar.err

Code: Select all

#* 16/05/2018 00:00:07	Starting 123Solar on boot debug (11311)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 00:15:07	Starting 123Solar on boot debug (11328)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 00:30:07	Starting 123Solar on boot debug (11347)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 00:45:07	Starting 123Solar on boot debug (11360)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 01:00:07	Starting 123Solar on boot debug (11380)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 01:15:08	Starting 123Solar on boot debug (11396)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 01:30:08	Starting 123Solar on boot debug (11411)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 01:45:08	Starting 123Solar on boot debug (11433)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 01:50:09	Starting 123Solar on boot debug (260)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 02:00:01	Starting 123Solar on boot debug (269)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 02:15:01	Starting 123Solar on boot debug (290)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 02:30:01	Starting 123Solar on boot debug (344)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 02:45:01	Starting 123Solar on boot debug (364)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 03:00:01	Starting 123Solar on boot debug (382)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 03:15:01	Starting 123Solar on boot debug (403)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 03:30:01	Starting 123Solar on boot debug (419)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 03:45:01	Starting 123Solar on boot debug (437)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 04:00:02	Starting 123Solar on boot debug (451)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 04:15:02	Starting 123Solar on boot debug (468)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 04:30:02	Starting 123Solar on boot debug (484)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
#* 16/05/2018 04:45:02	Starting 123Solar on boot debug (503)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 50331656 bytes) in /srv/http/123solar/scripts/123solar.php on line 278
#* 16/05/2018 07:22:14	Starting 123Solar debug (581)

Xdebug requires Zend Engine API version 320160303.
The Zend Engine API version 320170718 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.

PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 4
PHP Notice:  Undefined variable: array2 in /srv/http/123solar/config/pvoutput/extended/extended1.php on line 5
20180516-08:20:01: aurora: ERROR: Received bad return code (-1 77)
20180516-08:25:01: aurora: ERROR: Received bad return code (-1 77)
123solar.service start automaticaly
and my script start every 15 min from 0 to 5 hours

AT 7:22 today from web interface I start manually

if I stop system from web interface and reboot rpi - script 123solar start fine!
I cant understand anything!

jeanmarc
Posts: 2022
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar stopped after reboot

Post by jeanmarc » Wed May 16, 2018 7:03 am

Hello,
Please disable "Extended data" in PVoutput if you don't use it (that require donation)

The weird thing too me is "PHP Fatal error: Allowed memory size"

What do you mean by "my script start every 15 min from 0 to 5 hours" ? What does it does exactly ?

Why people reboot each day, it's not windows :geek:

andy
Posts: 71
Joined: Wed May 04, 2016 10:25 am
Location: Ukraine
Contact:

Re: 123solar stopped after reboot

Post by andy » Wed May 16, 2018 7:48 am

jeanmarc wrote:
Wed May 16, 2018 7:03 am
Please disable "Extended data" in PVoutput if you don't use it (that require donation)
Done!
jeanmarc wrote:
Wed May 16, 2018 7:03 am
What do you mean by "my script start every 15 min from 0 to 5 hours" ? What does it does exactly ?
I have 2 systems scripts
first - 123solar.service - as in guide
second - 123solar1.sevrice

Code: Select all

[Unit]
Description=123Solar1

[Service]
ExecStart=/usr/bin/curl http://localhost/123solar/scripts/boot123s.php

[Install]
WantedBy=default.target
123solar1.timer

Code: Select all

[Unit]
Description=123solar additional boot

[Timer]
OnCalendar=0..4:0/15

[Install]
WantedBy=timers.target
every morning I open my inverter web site - monitoring stopped
I run it mannualy from web interface (admin - ON)
And then the whole day it works without errors
OR - if I reboot my rpi - script starting automatically
And then the whole day it works without errors

why script don't run after reboot at 01:50 every day?

jeanmarc
Posts: 2022
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar stopped after reboot

Post by jeanmarc » Wed May 16, 2018 8:30 am

I don't get it.. Why do you want to restart each 15min 123s by night ? :shock:
What systemctl status 123solar1 say ?

jeanmarc
Posts: 2022
Joined: Thu Aug 29, 2013 7:16 am

Re: 123solar stopped after reboot

Post by jeanmarc » Wed May 16, 2018 8:35 am

BTW here an example of timer that work for me :
backup.service

Code: Select all

[Unit]
Description=Backup

[Service]
Type=oneshot
ExecStart=/home/backup_nas.sh

[Install]
WantedBy=backup.target
backup.timer

Code: Select all

[Unit]
Description=Backup

[Timer]
OnBootSec=5min
OnCalendar=daily
Unit=backup.service

[Install]
WantedBy=multi-user.target

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest