Chapter 8. Data Transfers

Table of Contents
Scheduling Data Transfers
Sending Data

Data transfers back to ATD are handled by the datasend module in /iss/etc/init.d.

Scheduling Data Transfers

When the ISS system starts via the /iss/etc/init.d/init.iss script, the /iss/etc/init.d/datasend script adds lines to the crontab file for user iss according to the project and host name configured for the workstation.

#   datasend:
#   datasend: periodic data transfer installed Wed Apr 26 20:40:17 GMT 2000
#   datasend:
5 10,22 * * * /iss/etc/init.d/datasend run

The first three lines are merely comments. The fourth line actually schedules a call to the datasend script on the 5th minute of hours 10 and 22 every day. The run option to datasend tells the script to start the data transfer:

/iss/bin/data_send atd 800 $ISS_PROJECT

The crontab file for iss can be verified by running the crontab command as user iss:

6 iss1:/home/iss>  id
uid=6000(iss) gid=100(iss)
7 iss1:/home/iss>  crontab -l
# ISS boot crontab generated Thu Sep  2 22:38:53 GMT 1999
#   datasend:
#   datasend: periodic data transfer installed Wed Apr 26 20:40:17 GMT 2000
#   datasend:
5 10,22 * * * /iss/etc/init.d/datasend run

Additional scheduled tasks may show up in the crontab listing. Each script module in /iss/etc/init.d which uses crontab adds and removes its own tasks independent of any other tasks already in the crontab. If the ISS system is not running, such as after the iss user logs out from the window display or after running /iss/etc/init.d/iss stop, the datasend script will not be registered in the crontab and no data transfers will be attempted.