Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2010 14:15:38 +0200
From:      Jonathan McKeown <j.mckeown@ru.ac.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: Simulate CRON
Message-ID:  <201006141415.38389.j.mckeown@ru.ac.za>
In-Reply-To: <BLU0-SMTP551C6AAD193A252C3010E393DC0@phx.gbl>
References:  <BLU0-SMTP551C6AAD193A252C3010E393DC0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 14 June 2010 13:39:15 Carmel wrote:
> On Mon, 14 Jun 2010 16:41:19 +0530
>
> Amitabh Kant <amitabhkant@gmail.com> articulated:
> > On Mon, Jun 14, 2010 at 3:42 PM, Carmel <carmel_ny@hotmail.com> wrote:
> > > I saw a posting here months ago regarding a way to simulate running
> > > a script under CRON. I wrote it down and now cannot find it.
> > > Googling has not proved very useful either. I just cannot remember
> > > the program name.
> > >
> > > I hope I am explaining this sanely enough.
> >
> > Are you looking for a cron syntax check? If yes, then this site
> > should be of some help:
> >
> > http://www.hxpi.com/cron_sandbox.php
>
> No, sorry. There was a command or program, I forgot which, that would
> allow a user to run a program under another environment, similar to the
> environment that a script under CRON would be running under.

env(1)?

=46rom the manpage:

The env utility executes another utility after modifying the environment as=
=20
specified on the command line.

Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006141415.38389.j.mckeown>