embed app include a script file ?

Hi, group,

The application I’m making needs mount some shares from a SMB server at time intervals, say, 1 minute each. To mount, a script file such as “# fs-cifs SMB_SERVER:/QNX_BIN /bin guest none &” works, but how to make it exec at time intervals ?

In an embed application, I would like to make an additional sciript file to do the mount job, while keep the main photon program simple without a C function, or something else. Is it possible and What’s the best mothod to do with it ?


Peter Z

How about ‘cron’? Details are in standard QNX helpviewer.

Just wondering, do you have any reliability problems with fs-cifs? I have had loads of problems with it on 6.21 and 6.3.