automacro min {
run-once 1
timeout 1
$.hour = 0
$.minute = 0
$.second = 0
call {
.
.
}
}
How to triggers with system's time?
How to triggers with system's time?
Moderator: Moderators
-
- Noob
- Posts: 12
- Joined: 10 Dec 2011, 19:06
- Noob?: Yes
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: How to triggers with system's time?
There is "localtime" automacro condition.
-
- Noob
- Posts: 12
- Joined: 10 Dec 2011, 19:06
- Noob?: Yes
Re: How to triggers with system's time?
Code: Select all
automacro min {
run-once 1
timeout 1
localtime (.*):0:0
call {
.
.
}
}
-
- Noob
- Posts: 12
- Joined: 10 Dec 2011, 19:06
- Noob?: Yes
Re: How to triggers with system's time?
Yes!Kyubiko wrote:you mean this??Code: Select all
automacro min { run-once 1 timeout 1 localtime (.*):0:0 call { . . } }
But localtime can't use (.*)
localtime (.*):0:0 can't run
localtime 20:0:0 can run
new version can use??
If I want run 1 times each hour (x:0:0)
How can I do?
-
- Noob
- Posts: 1
- Joined: 07 May 2012, 21:20
- Noob?: No
Re: How to triggers with system's time?
Code: Select all
automacro min {
timeout 3600
call {
.
.
}
}
-
- Human
- Posts: 24
- Joined: 18 Jul 2012, 11:48
- Noob?: No
Re: How to triggers with system's time?
but it not trigger at exactly 00:00 of an hour right?kaiser018 wrote:This will run your code every hour from the time of your login.Code: Select all
automacro min { timeout 3600 call { . . } }