From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 07:08:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D2B71065697 for ; Wed, 18 Aug 2010 07:08:52 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id 49CEE8FC0A for ; Wed, 18 Aug 2010 07:08:52 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Olcb8-0005Ph-2w for freebsd-questions@freebsd.org; Wed, 18 Aug 2010 08:58:06 +0200 Received: from yoshi ([10.58.235.3] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Olcb5-000LoL-AD for freebsd-questions@freebsd.org; Wed, 18 Aug 2010 08:58:03 +0200 Message-ID: <4C6B847A.5090408@mapper.nl> Date: Wed, 18 Aug 2010 08:58:02 +0200 From: Mark Stapper User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2E4BD504C4885FE3EC0161D4" Subject: how to run task periodically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2010 07:08:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2E4BD504C4885FE3EC0161D4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I have a system that doesn't run 24/7/365. I would like to make sure that some tasks (like updating the ports tree) run weekly/monthly etc. As the system isn't on 24/7 the cron job I usually run for these tasks doesn't work as the machine isn't always running on the scheduled time. So I need a utility that enable me to say: "if a week has passed since the last run, run this command". Is there such a utlility? Cheers, Mark --------------enig2E4BD504C4885FE3EC0161D4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxrhHoACgkQN9xNqOOVnWCsZACgiEPaJhLfxG3NsFmCDxOpuM/O UjwAn00DaDzkyjoYK4wj1l7mg0Sgz6Lg =sWS9 -----END PGP SIGNATURE----- --------------enig2E4BD504C4885FE3EC0161D4--