[Question] Sending sms daily

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
Is there a way to convert string to date or time? my initial variable is a string
You don't need to convert the variable, just use the correct format. To send initial text at 09:56 am, then 1 minute earlier every day;

Initial value %SMSTime =9.56
Set variable %SMSTime-0.01 (check do maths)

tasker time context

If you want to send only on certain day(s), your profile needs a day context as well.
 
  • Like
Reactions: suhel28

anthony001

Senior Member
Jun 24, 2012
176
2
0
You don't need to convert the variable, just use the correct format. To send initial text at 09:56 am, then 1 minute earlier every day;

Initial value %SMSTime =9.56
Set variable %SMSTime-0.01 (check do maths)

tasker time context

If you want to send only on certain day(s), your profile needs a day context as well.
i already disabled beginner mode but i cant see the field to set the variable on the time context. is this a bug or something?
 

Attachments

anthony001

Senior Member
Jun 24, 2012
176
2
0
thanks guys. my only problem is that the next day it doesnt trigger. it only triggered once then after the succeding days it doesnt trigger
i have a var %CHECKBAL with value 8.42 and i use that on the time profile like you guys suggested. i put that var on the to and from. Do you guys know what is wrong?
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
In the profile properties (select the profile then hit the gear icon at top right), is limit repeats checked?

If you go to the variables tab, it's your variable shown and set as you expect?

There's always using tasker's logging to see if there's an error.
 

anthony001

Senior Member
Jun 24, 2012
176
2
0
In the profile properties (select the profile then hit the gear icon at top right), is limit repeats checked?

If you go to the variables tab, it's your variable shown and set as you expect?

There's always using tasker's logging to see if there's an error.
cant find the gear icon which contains the limit repeats option. i can only see the three dot. the three dot only has "help:this screen" and "userguide" option. Do you mean the repeat checkbox inbetween from and to?
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
cant find the gear icon which contains the limit repeats option. i can only see the three dot. the three dot only has "help:this screen" and "userguide" option. Do you mean the repeat checkbox inbetween from and to?
It sounds like you are inside the context setting. You need to access the profile settings. The profile is the contexts that trigger the task and the task to be triggered.

I'm on the latest beta so I guess maybe it's differing in the "stable" version (I don't remember). The user guide for profiles says "Long-click on the profile name to get profile options".
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
I've been running this profile for a week. It's been sending an SMS daily, 1 minute earlier each day. I'm posting it here going it will help you. For example, if you don't have "do maths" checked in the set variable action, the variable might get goofed.

Profile: Recurring SMS (37)
Time: From %CHECKBAL Till %CHECKBAL
Enter: SMStest (53)

A1: Send SMS
[*
Number:1234567890
Message:Testing repeating sms*
Store In Messaging App:eek:ff*
Continue Task After Error:eek:n
]*

A2: Variable Set
[*
Name:%CHECKBAL To:%CHECKBAL-.01*
Recurse Variables:eek:ff*
Do Maths:eek:n*
Append:eek:ff
]*

If it still isn't working, you need to check the tasker log.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone