返回列表 發帖
Good news! It looks more feature is coming for Switchfin.

YH

TOP

回復  角色


    Please suggest a script to test.
ckleea 發表於 2010-9-4 15:15


I shall let you know later since I have to find out.

YH

TOP

In order to test the cron job, you may create a script /persistent/etc/test.sh which contains

echo date >> /persistent/etc/test.dat

Edit the /etc/crontab and add something like

*/1 * * * * /bin/sh /persistent/etc/test.sh

Since it is a well-know problem that user cron job does not work at all, you may need to modify some of the settings.

YH

TOP

In addition to the above case, there is another bug in command date. If this is automatically excuted, the date will be GMT instead of the local time. If you excute date command mannually, it will give you the local time. And if you excute the date command by a sh command, it also gives you the local time.

YH

TOP

Since the cron job does not work, I switched to use while-loop-and-sleep method.

YH

TOP

This is due to the uClinux porting problem rather than Asterisk. The main concern is the stability issue of the Switchfin.

YH

TOP

Did you enable this?

/persistent/etc/init.d/cron enable or
/persistent/etc/init.d/cron start

to ma ...
ckleea 發表於 2010-9-6 12:01


I forgot whether I have done it or not but it is a well-know problem.

YH

TOP

Is it possible to change the firmware to Switchfin using the ATCOM GUI?

YH

TOP

Have you tried it your in Switchfin firmware?

YH

TOP

When I check /bin/bush in my ip-01, it shows that the command /bin/bush is not found. As a result, it is not possible to run it.

YH

TOP

It look the cron job works perfect.

YH

TOP

I use unix command to serach the location of hush shell.

root:/persistent/etc> find / -name "hush"
root:/persistent/etc>

It turns out it is not available in IP-01.

YH

TOP

The answer is the same, no.

YH

TOP

In fact, thanks a lot. I believe that switchfin will get more support as compared to ATCOM one. I may switch to switchfin later if I have the searial port.

YH

TOP

CentOS decompress tools for .tar.xz files

yum install xz

tar -xvf file.tar.xz --use-compress-program xz

YH

TOP

返回列表