Thread
:
[Announce] "Alarmed" scheduling App (supports automatic GPRS data counter resetting)
View Single Post
maemo.it
2010-12-21 , 21:00
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#
369
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?
Attached Images
__________________
If you found my post useful please thank me, I appreciate!
Last edited by maemo.it; 2010-12-21 at
21:13
. Reason: more info
Quote & Reply
|
maemo.it
View Public Profile
Send a private message to maemo.it
Find all posts by maemo.it