source: locker/bin/cronload @ 438

Last change on this file since 438 was 438, checked in by andersk, 15 years ago
The time has come that sshmic fails to work on more machines than it is necessary on. Replace it with an ssh wrapper script that also sets various ssh options.
  • Property svn:executable set to *
File size: 377 bytes
Line 
1#!/bin/sh
2
3echo "This program should print your new crontab below."
4echo "If it does not do so, something is wrong."
5echo "Feel free to contact scripts@mit.edu for assistance."
6echo
7
8cwd=`pwd`
9lname=`perl -e "\\\$temp = \"$cwd\"; \\\$temp =~ /\\\/([^\\\/]+)\\\/cron_scripts/; print \\\$1"`
10athrun scripts scripts-ssh -l "$lname" /usr/local/bin/cronload "$1" "$cwd" 2>/dev/null
Note: See TracBrowser for help on using the repository browser.