![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cronjobs not running. | cromohawk | SUN Solaris | 1 | 09-15-2008 02:08 PM |
| Setting cronjobs... | krworks | Shell Programming and Scripting | 4 | 06-06-2008 02:46 AM |
| Time Zone in AIX and cronjobs | run_time_error | AIX | 1 | 04-28-2006 06:42 AM |
| Cronjobs | mcastill66 | AIX | 1 | 05-31-2005 02:15 PM |
| cronjobs | tamer | UNIX for Dummies Questions & Answers | 3 | 01-22-2001 02:48 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
hello all,
I have a shell script and I need to schedule it in crontab, I have the next line: 06 16 * * 1,2,3,4,5 /usr/bin/ksh /path/path/name.sh > /path/path/name.log first, I scheduled from Monday to Friday but it doesn't run, the log file is empty.. any idea why is causing this? ![]() note: my shell works if I run it manually. Thanks! |
|
||||
|
SunOS 5.8 Generic_117350-35 sun4u sparc SUNW,Netra-T12
$ ps aux | grep crond usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ] [ -u userlist ] [ -U userlist ] [ -G grouplist ] [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] 'format' is one or more of: user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid pri opri pcpu pmem vsz rss osz nice class time etime stime f s c lwp nlwp psr tty addr wchan fname comm args projid project |
|
||||
|
I tried the last command and I got this:
$ ps -ef | grep crond user 19096 7926 0 17:44:58 pts/4 0:00 grep crond |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|