SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun May 19, 2024 21:10
SMSTools3 Community » Help and support Bottom

[answered] regular run output

  This topic is locked

Page:  1

Author Post
Member
Registered:
Feb 2010
Location: United Kingdom
Operating system name and version: Ubuntu 9.10
Version of smsd: 3.1.6
Smsd installed from: sources
Name and model of a modem / phone:
Interface:

I want my regular_run to output to the smsd log - for example I want to record the network status, and the total msg recorded every hour, like stats, but also record the output of eventscheduler scripts.

Do I have to muck around with logger or is there a simpler way?

thanks,

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
When a modem process sends a command to the modem, the result is logged to the smsd.log by default. These commands can be defined in the regular_run_cmdfile, and/or with a settings regular_run_cmd.

I have to say that right now I'm not sure if an external script can write to the smsd.log safely, at the same time when smsd processes are writing to it.

Perhaps you could just try and check what happens in your environment. But the preferred way is that external scripts use their own log files.

So the answer is: you have to muck around... Sorry :(

Member
Registered:
Feb 2010
Location: United Kingdom
Topic owner
For some reason I assumed it was going through syslog... it's not a problem using another file for output.

Thanks

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.