maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting) (https://talk.maemo.org/showthread.php?t=46594)

rotoflex 2010-11-28 17:31

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
I continue to get a crash to the desktop in this case:

1. Create a command event, type Daily
2. Save
3. Close Alarmed, open Alarmed
4. Go to the Daily evenit, change type to Weekly
5. Click on Days of the Week
6. Segmentation fault

tvogel 2010-12-08 10:30

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
If I omit the event name, I get the misleading message I should pick a time in the future even for a daily event. Filling in an event name solves the issue (but I think, an empty name should be allowed - the event description says all I need to know).

mtran66 2010-12-15 15:03

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Do I need to reboot or do something after installing this?

the alarms never work for me. I set a daily alarm to change profiles, and set the time. When the time arrives, nothing happens.

ndi 2010-12-16 09:22

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
This has been reported before, it changes one profile but not the other, iirc. Look back in the thread, I'm on the road now.

shapeshifter 2010-12-16 15:42

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Quote:

Originally Posted by mtran66 (Post 897383)
Do I need to reboot or do something after installing this?

the alarms never work for me. I set a daily alarm to change profiles, and set the time. When the time arrives, nothing happens.

Are you saying 'alarms' don't work, or profile switching? If the latter, are you using English as the interface language or any other language? Unfortunately, profile switching doesn't work if you're not using English. In that case, you could use tweakr to make your profiles, in which case alarmed will be able to change them, no matter what language you use.

mtran66 2010-12-16 15:46

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
yes I mean changing profiles don't work. I'll try tweakr and set another profile change event. i am using english

hunludvig 2010-12-17 05:06

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
Hi, I read all pages of the forum because it seemed me like alarmed doesn't really support complex and comfortable cron syntax. I found two persons who missed this feature and I'm missing it also, so I implemented it in function "interpretCronString". In my version you can use */n and n-m like elements and it changes the element to a normal list not to confuse other codes. Here is the diff, please take a look!

mtran66 2010-12-17 15:02

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
using tweakr, I am now able to change profiles. thanks for the tips

maemo.it 2010-12-21 21:00

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
1 Attachment(s)
hi guys, I need an help:
I installed syslog app to monitor my system. problem is that I need to delete /var/log/syslog file periodically otherwise my rootfs partition become full and I've to reflash it. So, I wrote a script to do that and I scheduled this script with alarmed. this is my script, called delete_syslog_script.sh in /home/user:
Code:

#!/bin/sh
yes|rm /var/log/syslog

I gave to my script these attributes, following #278 in this thread: http://talk.maemo.org/showpost.php?p...&postcount=278
downhere a screenshot of my event in alarmed.
problem is /var/log/syslog doesn't be deleted!!
so, since I'm sure my script is ok, I suppose problem come from alarmed.
any idea?
:confused:

shapeshifter 2010-12-22 10:03

Re: [Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
 
Have you set
Code:

chmod +x /home/user/delete_syslog_script.sh
to make it runnable? Also, I'm unsure if it's a good idea to use the /bin/sh shebang. Afaik, you should be using /bin/bash and let maemo's symlink to ash work.


All times are GMT. The time now is 04:25.

vBulletin® Version 3.8.8