Hmm, ik heb een probleempje met de crontabs van Slackware 8.1. Het probleem is namelijk dat het commando wat ik er in heb gezet simpelweg niet wordt uitgevoerd. Ik heb op dit moment 't volgende in m'n crontab staan:
Het is dus de bedoeling dat om de 5 minuten /usr/local/sbin/fetchipac wordt gedraaid. Het probleem is echter dat dat dus niet gebeurdt op het moment. Het programma'tje wordt simpelweg niet uitgevoerd. Ik heb crond opnieuw gestart, maar dat had geen effect. Mensen met ideeën?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| # If you don't want the output of a cron job mailed to you, you have to direct # any output to /dev/null. We'll do this here since these jobs should run # properly on a newly installed system, but if they don't the average newbie # might get quite perplexed about getting strange mail every 5 minutes. :^) # # Run the hourly, daily, weekly, and monthly cron jobs. # Jobs that need different timing may be entered into the crontab as before, # but most really don't need greater granularity than this. If the exact # times of the hourly, daily, weekly, and monthly cron jobs do not suit your # needs, feel free to adjust them. # # Run hourly cron jobs at 47 minutes after the hour: 47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null # # Run daily cron jobs at 4:40 every day: 40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null # # Run weekly cron jobs at 4:30 on the first day of the week: 30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null # # Run monthly cron jobs at 4:20 on the first day of the month: 20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null # # Run fetchipac every 5 minutes 5 * * * * /usr/local/sbin/fetchipac > /dev/null |
Het is dus de bedoeling dat om de 5 minuten /usr/local/sbin/fetchipac wordt gedraaid. Het probleem is echter dat dat dus niet gebeurdt op het moment. Het programma'tje wordt simpelweg niet uitgevoerd. Ik heb crond opnieuw gestart, maar dat had geen effect. Mensen met ideeën?