Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#168 closed defect (worksforme)

S60cron revision 2619

Reported by: tsanghan@… Owned by: developers
Priority: normal Milestone: 1.0-rc4
Component: base system Version: 1.0
Keywords: cron Cc:

Description

Hello OpenWrt Developers,

S60cron (Whiterussion rc4, rev 2619) does not correctly creat the "crontabs" link file in directory "/var/spool/cron" pointing to "/etc/crontabs" directory.

I believe S60cron from KAMIKAZE, rev 2621 will have the same issue as the code are the same.

I have a working S60cron script below for your consideration to be include in the OpenWrt distribution. Thanks.

#!/bin/sh

[ -d /etc/crontabs ] [ -e /var/spool/cron/crontabs ]
mkdir /etc/crontabs
{

mkdir -p /var/spool/cron
ln -s /etc/crontabs /var/spool/cron/crontabs

}
crond -c /etc/crontabs

Tsang-Han Wong
tsanghan@…

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by florian

  • Resolution set to worksforme
  • Status changed from new to closed

Corrected in #2805 for trunk

comment:2 Changed 12 years ago by florian

Corrected in #2806 for whiterussian

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.