Simulate CRON
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. -- Carmel ✌ carmel...@hotmail.com |=== |=== |=== |=== | THE DAILY PLANET SUPERMAN SAVES DESSERT! Plans to Eat it later ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@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. -- Carmel ✌ carmel...@hotmail.com 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 Amitabh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
On Mon, 14 Jun 2010 16:41:19 +0530 Amitabh Kant amitabhk...@gmail.com articulated: On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@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. -- Carmel ✌ carmel...@hotmail.com |=== |=== |=== |=== | We're living in a golden age. All you need is gold. D. W. Robertson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
Carmel writes: 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. Are you looking for a cron syntax check? If yes, then this site should be of some help: 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. Are you possibly talking about a jail? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
On Mon, Jun 14, 2010 at 1:39 PM, Carmel carmel...@hotmail.com wrote: 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. at(1) maybe? -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/06/2010 12:55:34, Robert Huff wrote: Carmel writes: 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. Are you looking for a cron syntax check? If yes, then this site should be of some help: 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. Are you possibly talking about a jail? Try: env -i USER=$USER HOME=$HOME LOGNAME=$LOGNAME \ PATH=/usr/bin:/bin SHELL=/bin/sh PWD=$HOME your-script-name Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwWHPQACgkQ8Mjk52CukIx5fQCaAlvxOIEvdG96J1+lSB0UCQlX NqsAnjFA4gG6eJtPiHlIBcfdRzjxaSAB =AwPN -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
On Monday 14 June 2010 13:39:15 Carmel wrote: On Mon, 14 Jun 2010 16:41:19 +0530 Amitabh Kant amitabhk...@gmail.com articulated: On Mon, Jun 14, 2010 at 3:42 PM, Carmel carmel...@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)? From the manpage: The env utility executes another utility after modifying the environment as specified on the command line. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Simulate CRON
On Mon, 14 Jun 2010 07:55:34 -0400 Robert Huff roberth...@rcn.com articulated: Are you possibly talking about a jail? Sorry, no. I am going to try searching the questions archives and perhaps come up with it. -- Carmel ✌ carmel...@hotmail.com |=== |=== |=== |=== | Carson's Consolation: Nothing is ever a complete failure. It can always be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org