[Discontinued] Background Tasks [4.1] 🥳

How can we do this to variable?

Just create a variable with blocks then you can set/modify data.
Else you can call <something> :: variable(myvariable, <DATA>)

1 Like

Actually this is kind of a testing feature, so I have not included in the documentation.

I will be testing it then.
Because I to change delay time to 0.
I am confused, If I delay by 40 minutes then call funtion and set periodic to 2 hours.
After first (40 min later)
Second one will be delayed by 2hr 40 min ryt?

I do nothing in block and Don’t know how to and where to start in block
I just design the app

I fixed what you said
still the compare of the entered variable to the Real Time Cellid
does not happen
Can you help?


GeoFencing.aia (493.1 KB)
I Need It To Check For Change every 3 seconds

You do the way:

Use periodic tasks with 40 minutes intervals. If you want to skip the first run that will be called immediately, you can use IGNORE_FIRST_PERIODIC_RUN flag without space. So, the service will run every 40 minutes. You can change this time.


There are some examples with project files :wink:, you can try them.

1 Like

The above block is wrong!

Below is the correct function, do it as in the below image.


Also “Current-Cid” is an invalid block. You are giving it the name “Cid” which is invalid.

2 Likes

the notification happens only once
even if the compare is wrong
‏‏geoFencing1
is this how i compare variables? what is “{$0}”

Periodic Timer cannot be less than 15 min
If user sets time= 9:30am at 9:20am
I want to delay 10 min later periodically show notification at 9:30am (that is 24 hr interval)

great work :heart:

3 Likes

Yes, the minimum interval is 15 minutes. If it’s set below that, it will be set to 15 minutes.

Yes. You will have to correct a few things.
Remove the call function block which calls the Id “process”.

In the register event block, change the function to “$process”.
And, from which value are you comparing?

Also, comparing variables are changed in an easy way.
Just use “val0” if you want to compare with the first event.

Hii @Xoma will I be able to run notification style extension’s receiver message notification in background ?

Try it!

Ok I will what did you think ?

I don’t know, why don’t you try it?

Then what would be the best way to do this?

I don’t really understand what you are saying.
You could use periodic tasks.

If you want it less than 10 minutes, you can use two services. One for delay of 10 minutes and the other one for 24 hours periodically.

2 Likes

Basically I want to send notification everyday at 9:30am

1 Like