cron reads the files in /etc/cron.d in addition to /etc/crontab and the
per-user crontab files. See the cron(8) manpage.
The files in /etc/cron.d are supposed to be crontab files, not scripts
like those being run using run-parts.
--
regards,
kushal
understood :-)
Cheers!
Pol
--
To
Pol Hallen writes:
> Hi all :-)
>
> doing a check of my system, I see some scripts in /etc/cron.d/
>
> if my /etc/crontab contains:
>
> SHELL=/bin/sh
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
>
> # m h dom mon dow user command
> 17
Hi all :-)
doing a check of my system, I see some scripts in /etc/cron.d/
if my /etc/crontab contains:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 ** * * rootcd / && run-parts --report /etc/cron.hou
On 28-mrt-2007, at 4:27, Wu-Kung Sun wrote:
On 3/27/07, Peter Teunissen <[EMAIL PROTECTED]> wrote:
Hi all,
I've got a strange issue with cron. I try to run a simple script that
calls tar to backup my wiki. I can run the script using sudo, it runs
fine from an entry in cron.d but
On 3/27/07, Peter Teunissen <[EMAIL PROTECTED]> wrote:
Hi all,
I've got a strange issue with cron. I try to run a simple script that
calls tar to backup my wiki. I can run the script using sudo, it runs
fine from an entry in cron.d but refuses to run after being dropped
into cron.
Hi all,
I've got a strange issue with cron. I try to run a simple script that
calls tar to backup my wiki. I can run the script using sudo, it runs
fine from an entry in cron.d but refuses to run after being dropped
into cron.daily. It's owned by root:root and chmodded 755 just
On 12/25/05, Maxim Vexler <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> For some reason, jobs defined in /etc/cron.d doesn't get picked up by
> cron, while jobs from /etc/cron.{hourly,daily,weekly,monthly} do !
>
> I have verified this by putting the following commands
Hello list,
For some reason, jobs defined in /etc/cron.d doesn't get picked up by
cron, while jobs from /etc/cron.{hourly,daily,weekly,monthly} do !
I have verified this by putting the following commands in /etc/cron:
$ apt-show-versions cron
cron/testing uptodate 3.0pl1-92
$ ps aux |
Attila Csosz ([EMAIL PROTECTED]) wrote:
> Which file is responsible to start programs from cron.d? /etc/inittab ?
> (or..?) After what a period will the programs start from this location?
They're started by cron itself. From 'man cron':
cron also reads /etc/c
Which file is responsible to start programs from cron.d? /etc/inittab ?
(or..?) After what a period will the programs start from this location?
Thanks
Attila
--
---
- Debian 2.1 Linux / 2.2.9 / qmail -
- Mail: [EMAIL PROTECTED]-
10 matches
Mail list logo