On Fri, 01.05.15 09:35, Likang Wang (labor...@gmail.com) wrote:
> Hi all,
>
> I hava a timer with the fellowing setting:
>
> # cat /lib/systemd/system/updateimage.timer
>
> [Unit]
> Description=Update image
> DefaultDependencies=false
>
> [Timer]
> OnCalendar=*-*-* 02:00:00
> Persistent=false
The custom time syncing service file does not have
"Before=time-sync.target".
In fact, not only when the time changes by the custom time syncing service
,but also when I set the time manually by "date -s 2015-05-01 11:08:00",
the timer and the same-name service will run.
Here is the custom time
On Thu, Apr 30, 2015 at 6:35 PM, Likang Wang wrote:
> Hi all,
>
> The entire system is running on an embedded box, and the system time will be
> set to 2008-01-01 00:00:00 after every reboot. My app running on the box
> will get the real time from my server and update time on the box after every
>
Hi all,
I hava a timer with the fellowing setting:
# cat /lib/systemd/system/updateimage.timer
[Unit]
Description=Update image
DefaultDependencies=false
[Timer]
OnCalendar=*-*-* 02:00:00
Persistent=false
[Install]
WantedBy=multi-user.target
And I want the timer call the same-name service only