Hello!
I want to run a cronjob.
It currently (for testing purposes) looks like that:
m@tr:~$ sudo cat /etc/cron.d/big-8
SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
* * * * * root echo "hallo"
m@tr:~$
m@tr:~$ sudo run-parts /etc/cron.d /etc/cron.d/big-8: line 3:
check_big8.sh: command not found /etc/cron.d/big-8 failed.
m@tr:~$
It included a call for this script in the past, but I removed that. It
still tries to run it. What causes that?
Hello!
I want to run a cronjob.
It currently (for testing purposes) looks like that:
m@tr:~$ sudo cat /etc/cron.d/big-8
SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
* * * * * root echo "hallo"
m@tr:~$
m@tr:~$ sudo run-parts /etc/cron.d
/etc/cron.d/big-8: line 3: check_big8.sh: command not found
/etc/cron.d/big-8 failed.
m@tr:~$
It included a call for this script in the past, but I removed that. It
still tries to run it. What causes that?
So what have you done here? You have written a file with some lines
having a syntax for a shell script and one line having a syntax for
the configuration of a cron daemon not used by Slackware.
If you just directly edit the file on disk, you have changed the file
on disk, but the running deamon will still have in memory a copy of
the old file before you edited it.
If you just directly edit the file on disk, you have changed the file on disk, but the running deamon will still have in memory a copy of the old
file before you edited it.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 03:52:02 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
694 files (7,172M bytes) |
| Messages: | 264,528 |