返回列表 發帖
回復 62# 角色

If you issue the command "exec date", the output is correct. But echo date only output "date" in the file.

I have limited access now, will test further later.

TOP

You may try to change your script by adding a line at the beginning

#!/bin/hush

TOP

回復 70# 角色

I am asking for more instruction from the developer.

Do you have a script for the PSTN inbound, unattended for 60 seconds, go into voicemail?

TOP

回復 70# 角色


    Please check if you have the cron script enable in /persistent/etc/rc.d

TOP

本帖最後由 ckleea 於 2010-9-6 14:39 編輯

回復 51# 角色


    Dyndns function can be enabled at the GUI screen.

screenshot.63.png (63.71 KB)

screenshot.63.png

TOP

Yes, just upload via GUI, But you may wait for a wait until it is more stable. It has a lot of upgrade recently, including GSM modules support? For the GUI Dyndns, it is not working via remote but I need to do more testing in my LAN environment.

TOP

回復 62# 角色

the script should be something like this
exec date >> /persistent/etc/test.dat

It should put into /persistent/etc/config/crontab

# /etc/config/crontab
# uncomment line below to test, see uClinux-dist/cron/README for
# more information.  Note no shell is available, so u can't do
# things like /bin/echo hello >> /tmp/test, but you could always
# start a shell script to handle anything fancy.

#* * * * * root /bin/touch /etc/config/crontab
0 * * * * root /bin/hush /etc/rotatecdr.sh
1 * * * * root /bin/hush /etc/cleanps.sh
0 * * * * root /bin/hush /persistent/etc/test.sh

TOP

回復 79# 角色


Here is a dump of test.dat
Mon Sep  6 21:22:46 WST 2010
Mon Sep  6 14:00:00 UTC 2010
Mon Sep  6 15:00:00 UTC 2010
Mon Sep  6 16:00:00 UTC 2010
Mon Sep  6 17:00:00 UTC 2010
Mon Sep  6 18:00:00 UTC 2010
Mon Sep  6 19:00:00 UTC 2010
Mon Sep  6 20:00:00 UTC 2010
Mon Sep  6 21:00:00 UTC 2010
Mon Sep  6 22:00:00 UTC 2010

I have not properly set the timezone in the etc/timezone file

TOP

You may check your existing content in /persistent/etc/config/crontab and the associated scripts to revise your non-functional scripts. It may just be calling to an incorrect shell and not in the right position.

TOP

How about /bin/bash?

TOP

unfortunately, I do not want to reflash the ATCOM firmware and I can't check for you.

You need to look around for the files.

TOP

Sure, you need a serial cable for the work. Just HK$20 for a USB to serial convertor will do. For software, you need puttytel, a freeware.

I have tired another new release but not yet able to compile because of the size problem. Perhaps I select too much.

TOP

回復 89# 角色


    you mean file extension tar.gz or tgz

TOP

Where do you get this file?

TOP

回復 93# 角色
Let me check for you tonight. I made this already.

TOP

返回列表