Hi Jared, I did nothing :-)
I do not even know what termcap is. The remote machine is an AIX 7.1 LPAR. Something is not quite right on my machine, because whenever I ssh into this AIX LPAR or to any Linux machines - Ubuntu, centos, does not matter -, I always get the following interaction or similar to it: <nyissz> bml0041:~ janos$ ssh [email protected] [email protected]'s password: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. <nyassz> But, because everithing worked after it, I never payed any attention to it. Could this be the root cause of the cron problem at hand ? I do not know. Thanks ahead, János On Feb 23, 2012, at 5:43 PM, Jared Earle wrote: > Have you allowed ssh to run without a termcap? > > On Thursday, 23 February 2012, János Löbb <[email protected]> wrote: > > Folks, > > > > I am sure I was sleeping at the wheel regarding this issue, so I need a hit > > on my neck to the right direction. > > > > I have this little crontab entry: > > bml0041:shell_script janos$ cat del_from_sequoia.crontab > > 10 * * * * /Volumes/Data/PROJECTS/Sysmon/shell_script/del_from_sequoia.ksh > > > /dev/null 2>&1 > > > > That is I want at 10 minutes after the hour to execute a shell script. > > > > The script is this: > > > > bml0041:shell_script janos$ cat del_from_sequoia.ksh > > #!/bin/bash > > # > > scp [email protected]:/prod2/ase15/sysmon/sysmonlogs/*.log > > /Volumes/Data/PROJECTS/Sysmon/sysmsa/ > > > > ssh [email protected] "find /prod2/ase15/sysmon/sysmonlogs -name '*.log' | > > xargs rm " > > > > That is first I copy over some files from a remote server to my local > > machine followed by deleting the files on the remote server. > > > > If I do these two commends on the local machine at the CLI, both works > > fine. However executing them via cron is a no go, that is nothing happens. > > > > Now, I see in man crontab, that it wants me to use launchctl and I looked > > its man page too, but I am not seeing how could I schedule the execution of > > this script with launchd. > > > > Thanks ahead, > > > > János > > > > _______________________________________________ > > MacOSX-admin mailing list > > [email protected] > > http://www.omnigroup.com/mailman/listinfo/macosx-admin > > > > -- > Jared Earle :: There is no SPORK > [email protected] :: http://jearle.eu > Hosting :: http://cat5.org > Blog :: http://blog.23x.net _______________________________________________ MacOSX-admin mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-admin
