|
#11
|
||||
|
|
||||
|
Beautiful.
This may sound like a newbie question but thats because Im relatively new to the linux scene....im a symbian guy...but anyway, how do i go about "activating" the triggers in the script? Simply running the following code isn't sufficient? Code:
sqlite3 -batch /home/user/.rtcom-eventlogger/el.db < triggers.txt |
|
#12
|
|||
|
|||
|
yes thats sufficient.
copy the triggers.txt over to your device, open a terminal and navigate to the folder where the triggers.txt is, for example Code:
cd MyDocs Code:
sqlite3 -batch /home/user/.rtcom-eventlogger/el.db < triggers.txt the triggers are stored persistently in the database and survive a reboot, of course… you can also delete the triggers.txt after that, if you want. |
|
#13
|
||||
|
|
||||
|
good deal... thank u very much
|
|
#14
|
|||
|
|||
|
hi there and thanks
but here's a noob question (the id says it all) where do I save the trigger to have access to it in x-terminal? it's in Documents now but can't get to it THANKS
__________________
Teaching old dogs new tricks Last edited by newbe; 2010-05-14 at 09:00. Reason: typo |
|
#15
|
|||
|
|||
|
The folder "Documents" in the Filemanager is actually /home/user/MyDocs/.documents in the filesystem.
You can get there by typing Code:
cd /home/user/MyDocs/.documents |
|
#16
|
|||
|
|||
|
Hi, is this working after PR1.2?
I now have el-v1.db instead of el.db, and applied the triggers there. But I'm still getting no end_time. Thanks. |
|
#17
|
|||
|
|||
|
Quote:
What do you mean by "I'm still getting no end_time"? Did you check the database? AFAIK there are no GUI-Application which actually use the field end_time. |
|
#18
|
|||
|
|||
|
Quote:
Hi, my end_time is still showing 1970-01-01 on outgoing calls, but I found that it is being correctly updated on incoming calls! So, with PR1.2 should I remove these triggers? Thanks for your help, Alberto |
|
#19
|
|||
|
|||
|
sorry, you're right, it's only correctly set for incoming calls.
I'll try to examine that further, I'll let you know when I find out more… |
| The Following User Says Thank You to hcm For This Useful Post: | ||
|
#20
|
|||
|
|||
|
ok my last post was incorrect, PR1.2 did not change anything with respect to end_time (i.e. end_time is still not saved).
But PR1.2 changed the structure of the database, and that's why only the triggers for incoming calls were working correctly. Apparently, the triggers are even saved in a backup, and thus survived my reflashing and backup-restoring. Anyway, here are the new triggers which should work for PR1.2. EDIT: the name of the database has changed, so the command to import the triggers is now Code:
sqlite3 -batch /home/user/.rtcom-eventlogger/el-v1.db < triggers.txt Last edited by hcm; 2010-06-16 at 13:20. |
![]() |
|
|