|
Size: 820
Comment:
|
Size: 812
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| /cvs/cds/caltech/statScreen/bin/captureScreen.sh takes a screen shot of an X application and saves the image to /cvs/cds/caltech/statScreen/images/. |
''/cvs/cds/project/statScreen/bin/captureScreen.sh'' takes a screen shot of an X application and saves the image to ''/cvs/cds/caltech/statScreen/images/''. |
| Line 6: | Line 7: |
| For MEDM screens, there is a wrapper script grabMEDMScreens.sh. | For MEDM screens, there is a wrapper script ''grabMEDMScreens.sh''. |
| Line 10: | Line 11: |
| The cron actually runs cronjob.sh, which calls grabMEDMScreens.sh with /cvs/cds/caltech/statScreen/etc/medmScreens.txt as the argument. This job will generate images in /cvs/cds/caltech/statScreen/images/. To change/add MEDM screens to be captured, modify /cvs/cds/caltech/statScreen/etc/medmScreens.txt |
The cron actually runs cronjob.sh, which calls ''grabMEDMScreens.sh'' with ''statScreen/etc/medmScreens.txt'' as the argument. This job will generate images in ''statScreen/images/''. '''To change/add MEDM screens to be captured, modify ''statScreen/etc/medmScreens.txt'''''. |
Taking screen shots in the background
/cvs/cds/project/statScreen/bin/captureScreen.sh takes a screen shot of an X application and saves the image to /cvs/cds/caltech/statScreen/images/.
This script does not require a physical display.
For MEDM screens, there is a wrapper script grabMEDMScreens.sh. It takes a list of *.adl files as an argument and capture the images of those screens.
A cron job runs on nodus calling the above scripts. The cron actually runs cronjob.sh, which calls grabMEDMScreens.sh with statScreen/etc/medmScreens.txt as the argument. This job will generate images in statScreen/images/.
To change/add MEDM screens to be captured, modify statScreen/etc/medmScreens.txt.
Empty lines and lines starting with # are ignored.
