A few questions
I created a new job using cron -e.
My job file is in /usr/local/sbin
Looking at the PATH environment variable the explicit "/../local/... is not in there.
Can I assume that the file will be found via the variable /usr/
or should I edit the crontab file and add that path
or should i just move the job file to /usr/sbin?
Thank you
Steve
crontab
Re: crontab
Put it in crontab with the full path to the executable.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: crontab
Super thanks
Will do.
will see how it works tomorrow morning.
Steve
Will do.
will see how it works tomorrow morning.
Steve
Re: crontab
Sorry. Maybe I spoke to soon.
So I deleted the job.
Manually edited the crontab file and added the job and made sure the path was in as well.
By doing so the following commands show no cron jobs?
crontab -l
crontab -u %username% -l
also looked in /var/spool/cron and no account name to prove a job?
Did I misunderstand the suggestion?
Thanks
Steve
So I deleted the job.
Manually edited the crontab file and added the job and made sure the path was in as well.
By doing so the following commands show no cron jobs?
crontab -l
crontab -u %username% -l
also looked in /var/spool/cron and no account name to prove a job?
Did I misunderstand the suggestion?
Thanks
Steve
Re: crontab
When I said put it in crontab I meant using `crontab -e` and then putting the full path to the executable in the line there like
Code: Select all
* * * * * /usr/local/bin/something
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: crontab
Yup I misunderstood. Its obvious - I am new but learning quickly.
Thanks
Steve
Thanks
Steve