vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I've got the following in my crontab 0 6 * * * user /home/user/quarter.v2 0 12 * * * user /home/user/quarter.v2 0 18 * * * user /home/user/quarter.v2 0 0 * * * user /home/user/quarter.v2 quarter.v2 is a script. I can run it manually. I want it to run four times a day, at 6am, noon, 6pm, and midnight. But the script isn't being run. I've had the crontab entries for two days, and the script hasn't been run once. Have I misunderstood the way cron works? |
| |||
| On Tue, 29 Jun 2004 11:42:52 +0000, ï¾… wrote: > I've got the following in my crontab > > 0 6 * * * user /home/user/quarter.v2 > 0 12 * * * user /home/user/quarter.v2 > 0 18 * * * user /home/user/quarter.v2 > 0 0 * * * user /home/user/quarter.v2 > > quarter.v2 is a script. I can run it manually. I want it to run four times > a day, at 6am, noon, 6pm, and midnight. But the script isn't being run. > I've had the crontab entries for two days, and the script hasn't been run > once. Have I misunderstood the way cron works? Okay, never mind. Stupid user error. Nothing to see here. Move along. |
| |||
| =?Shift-JIS?b?LMyDdYOJg0WDVYF8LMUssg==?= <187x02s02@sneakemail.com> wrote: [sumimasen watashi no "newsreader" Shift-JIS wakarimasen] > I've got the following in my crontab > > 0 6 * * * user /home/user/quarter.v2 > 0 12 * * * user /home/user/quarter.v2 > 0 18 * * * user /home/user/quarter.v2 > 0 0 * * * user /home/user/quarter.v2 You could simplify your crontab by using 0 */6 * * * to run it every 6 hours 0 0,6,12,18 * * * is also valid You might want to check with your cron man-page, not all flavors of cron like all of these methods to specify starttime. PS: excuse my crappy japanese -- Dirk-Lüder Kreie http://www.nord-com.net/dkreie/ Die E-Mail-Adresse ist *genau* *so* korrekt: dlk-nospam@deelkar.ath.cx |
| ||||
| So anyway, it was like, 23:22 CEST Jun 29 2004, you know? Oh, and, yeah, Dirk-Lueder Kreie was all like, "Dude, >=?Shift-JIS?b?LMyDdYOJg0WDVYF8LMUssg==?= <187x02s02@sneakemail.com> > [sumimasen watashi no "newsreader" Shift-JIS wakarimasen] > PS: excuse my crappy japanese Actually I think you're only missing a "de" and a "ga".. assuming you got all the bows correctly in place while you were writing it. But I'm no expert either. -- Time flies like an arrow, fruit flies like a banana. Perth ---> * 00:11:49 up 10 days, 7:23, 8 users, load average: 1.00, 1.00, 1.00 Linux 2.6.7 x86_64 GNU/Linux Registered Linux user #261729 |