由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - A question about cron job
相关主题
关于man的小问题我的alia放在script里为什么不工作?
[转载] Cron problem!shell programming
cron, crontab or at?Help! shell programming
.cshrc?.login?.profile?How to monitor peak memory usage?
how to change login shell?如何在Solaris 下周期性地自动执行一个 shell script
**真心求助!!多谢了!!a question about operating system
script to restart a process, 巨菜问题俺的自白书
How to set environment variables for CGI scripts?how to use batch file to ftp files in UNIX?
相关话题的讨论汇总
话题: csh话题: scripts话题: crontab话题: job话题: cron
进入Unix版参与讨论
1 (共1页)
q*c
发帖数: 1172
1
Hi
I try to run some csh scripts as crontab jobs.
seems the .cshrc file was not invoked first when
the crontab job was executed, then some env variable
and commands in the csh scripts were not recognized
and the csh script can not run.
Any idea?
m*****e
发帖数: 4193
2
thats the right behavior

【在 q*c 的大作中提到】
: Hi
: I try to run some csh scripts as crontab jobs.
: seems the .cshrc file was not invoked first when
: the crontab job was executed, then some env variable
: and commands in the csh scripts were not recognized
: and the csh script can not run.
: Any idea?

q*c
发帖数: 1172
3
But even if i add "source ~/.cshrc" in my csh scripts,
the csh script still can not run. YU MEN!

【在 m*****e 的大作中提到】
: thats the right behavior
q*******t
发帖数: 29
4
do you have
#!/bin/csh -f
at the head of your script ?

【在 q*c 的大作中提到】
: But even if i add "source ~/.cshrc" in my csh scripts,
: the csh script still can not run. YU MEN!

1 (共1页)
进入Unix版参与讨论
相关主题
how to use batch file to ftp files in UNIX?how to change login shell?
急,定时运行程序的问题**真心求助!!多谢了!!
at是每天运行定点吗? (转载)script to restart a process, 巨菜问题
solaris的ssh为什么后台执行的时候进程不退出?How to set environment variables for CGI scripts?
关于man的小问题我的alia放在script里为什么不工作?
[转载] Cron problem!shell programming
cron, crontab or at?Help! shell programming
.cshrc?.login?.profile?How to monitor peak memory usage?
相关话题的讨论汇总
话题: csh话题: scripts话题: crontab话题: job话题: cron