NanoBSD and cron

View: New views
2 Messages — Rating Filter:   Alert me  

NanoBSD and cron

by Tim Bishop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I hope this is the appropriate place to discuss NanoBSD.

I've got a Soekris box and I've used NanoBSD to get FreeBSD 7 on it. No
problems so far - NanoBSD is great :-)

But I'm wondering what the best way to do cron jobs is? I could store
the per-user crontabs in /conf so they go in to the /var ramdisk, but
I'd have to rebuild the image to change them. What I need is something
like /cfg but for /var.

I suppose the easiest solution is to write an rc script that sets the
cron entries up on boot? Or use the global /etc/crontab file instead?

Any other solutions?

Thanks,

Tim.

--
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984
_______________________________________________
freebsd-small@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-small
To unsubscribe, send any mail to "freebsd-small-unsubscribe@..."

Re: NanoBSD and cron

by Eugene Grosbein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 29, 2008 at 03:23:37PM +0000, Tim Bishop wrote:

> I suppose the easiest solution is to write an rc script that sets the
> cron entries up on boot? Or use the global /etc/crontab file instead?

If your your NanoBSD does not really serve several human "non-root" users,
just use global /etc/crontab and be happy :-)

OTOH, I sometimes use a software looking to /var with NanoBSD,
so I just place symlinks into initial /var contents that /etc/rc.diskless
uses to populate /var at boot time. And these symlinks point to /etc
that is preserved in /cfg.

Eugene Grosbein
_______________________________________________
freebsd-small@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-small
To unsubscribe, send any mail to "freebsd-small-unsubscribe@..."