Hi Garin,
Below is the Nas log. I did save this log after I executed the script
Nov 15 13:43:21:719 [21844] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:21:719 [21844] nas: _processEvents 1 of 1000 in 6 ms.
Nov 15 13:43:21:719 [21844] nas: Event-Processor: published 1 messages in 6ms, 0 in queue.
Nov 15 13:43:21:759 [7504] nas: Trigger state changed to TRUE , '__INTERNAL:SMS URL'
Nov 15 13:43:21:759 [7504] nas: ExecEvent: IMMEDIATE rule='SMS URL', nimid=CF89430803-74045, ACTION:script
Nov 15 13:43:21:760 [19612] nas: [0xBD417000] Database provider is 'SQLITE3', database 'database.db'
Nov 15 13:43:21:765 [21508] nas: dbBeginTransaction tlogRun, OK - rc:0
Nov 15 13:43:21:765 [19612] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:21:771 [21508] nas: dbCommitTransaction tlogRun, OK - rc:0
Nov 15 13:43:21:797 [22232] nas: SREQUEST: post ->10.97.244.253/48001
Nov 15 13:43:21:797 [22232] nas: RREPLY: status=OK(0) <-10.97.244.253/48001 h=37 d=28
Nov 15 13:43:21:837 [7504] nas: ExecEvent: Rule='SMS URL' on nimid='CF89430803-74045' with ACTION:script, age:0s, status:OK
Nov 15 13:43:21:841 [22504] nas: dbBeginTransaction dbsRun, OK - rc:0
Nov 15 13:43:21:847 [22504] nas: dbCommitTransaction dbsRun, OK - rc:0
Nov 15 13:43:21:847 [22504] nas: dbsRun committed 1 requests. 0 remaining in queue...
Nov 15 13:43:21:848 [22232] nas: SREQUEST: post ->10.97.244.253/48001
Nov 15 13:43:21:848 [22232] nas: RREPLY: status=OK(0) <-10.97.244.253/48001 h=37 d=28
Nov 15 13:43:21:856 [21580] nas: dbBeginTransaction actLogRun, OK - rc:0
Nov 15 13:43:21:862 [21580] nas: dbCommitTransaction actLogRun, OK - rc:0
Nov 15 13:43:21:932 [18232] nas: NiS bridge: NTS INSERTED: nimid='CF89430803-74045' rc: 0 took 1ms
Nov 15 13:43:21:934 [18232] nas: NiS bridge: NA INSERTED: nimid='CF89430803-74045' rc: 0 took 1ms
Nov 15 13:43:21:934 [18232] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:21:991 [18232] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:22:204 [6380] nas: RREQUEST: get_info <-10.97.244.253/55324 h=297 d=15
Nov 15 13:43:22:204 [6380] nas: (get_info) - called from 10.97.244.253/55324
Nov 15 13:43:22:204 [6380] nas: [0xBCD21B10] Database provider is 'SQLITE3', database 'database.db'
Nov 15 13:43:22:210 [6380] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:22:210 [6380] nas: SREPLY: status = 0(OK) ->10.97.244.253/55324
Nov 15 13:43:22:210 [6380] nas: RREQUEST: _close <-10.97.244.253/55324 h=295 d=0
Nov 15 13:43:22:210 [6380] nas: sockClose:000001EFBD7EFEC0:10.97.244.253/48015
Nov 15 13:43:22:992 [18232] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
Nov 15 13:43:23:993 [18232] nas: SqliteExecuteCallback: sqlite3_finalize returned:0
From the log I did not see the trace of execution script. It just shown the Script Name (SMS URL).
Even though the script was not in the nas.log, but the result was logged in the Activity log.
See the Time between Nas.log and Activitiy Log in the same time 13:43
Can I understand what do you mean about your statement on this one:
AO profiles will have the nas directory as the current dir, not the directory where your script is (unless they are the same of course)
For your information, my NAS and AO are in the same directory
Regards
Rio