![]() |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
geojoking, did you copy it by copy-and-paste to your phone, and made sure you didn't miss any of it? Or did you do any typing?
Am wondering if one of: a) the 'if' in the top comments got put onto its own new line and considered a command instead of (as it should be) at the end of the "# Function: " comment line at top b) its being picky over the ";" immediately next to the "]" on the last if/then/fi block - after the $retrys -lt 5, separate them (though that shouldn't be reason). c) The comment line lost its "#" just before the "if we connected just for this" online ~31 or so. Just some thoughts having not tried it/not quite sure of differences between the n900 shell and regular bash shell on another box. |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
The script was copied by copy-paste to my phone.
I did however delete the "if"s from throughout the script after the comment lines, but it made no difference. I tried adding space from ] to ; , but again, no difference. |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
This is related more to shell scripts:
After re-flashing my phone, I can no longer execute a shell script. Calling it in terminal has this result: Code:
/home/user/scripts/tingtang.sh: line 1: #!: not found |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
It looks to me like the start of your script has got corrupted, the part that often reads "#!/bin/sh" to tell the shell to run it using the shell. Thats my best guess without any more knowledge. Don't think its a permissions thing from the error you got.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
Whoops, looks like I had a typo in the post above, the error is
Code:
/home/user/scripts/tingtang.sh: line 1: #!: not found Code:
#!/bin/sh |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
I have strange problem. Months ago I set profiles schedule but later I deleted it. Till now deleted schedule is still active. Where can I find any file that can still have those settings? I think I did it with Alarmed.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
alarm_queue.ini, located in /var/cache/alarmd directory.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
I've been experiencing the exact opposite
I have several entries in with time events set to Daily and Cron String. both have been working properly for some time, but recentry those entries using Cron String wouldn't work anymore, but those using Daily/Hourly settings still work any idea? here's the sample of Cron I use: 0 13 * * 1,2,3,4 I was expecting this will be triggered every monday-thursday at 1:00 PM. though I believe this is correct since it used to be working and I haven't mess with any of entries in Alarmed the only thing that came up to me is, recently I've been changing my phone timezone frequently (couple times within a month). and I didn't notice this problem before I messed up with timezone setting thanks edit. seems it's working again now. all I did is simply disable and enable all events in Alarmed, and today some of these events have been triggered properly. hope it's all solved now |
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
alarmed never resets my GPRS data. :( Where can I see the logs cuz I have no idea why it's failing.
|
Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
I recently wanted to start using alarmed, so installed it. Shortly after, I noticed that all my widgets had disappeared (including: all queen beecons, max cpu, desktop switcher, battery, homescreen dockbar and ironcope.) So I went through putting them all back on my screen. Later on, I actually saw all of them disappear before my eyes. It was a real pain, as I have a lot of widgets to replace. So I uninstalled alarmed, and it hasn't happened since. I hadn't even used alarmed, so it wasn't running a hildon killall or something like that. Also, it was the only new thing I had installed in weeks, so it must have been this. I have kernel power 47. Just wondered if anyone else has experienced something like this. Thanks.
|
All times are GMT. The time now is 07:30. |
vBulletin® Version 3.8.8