Re: Create log file from script code..



"Bit Twister" <BitTwister@xxxxxxxxxxxxxxxx> skrev i melding
news:slrne2oj19.3lu.BitTwister@xxxxxxxxxxxxxxxxxx

Hi, and thanks for the answer.

I forgot to say this this is with mOnOwall which is based on FreeBSD, if
that makes any difference.

lots of code examples in /etc/init.d

The mOnOwall distro unfortunately does not have any /etc/init.d folder

echo "MyScript started $(date) " >> /tmp/cronjobs.log

However I get an illegal variable name at the $(date) statement. Maybe the
FreeBSD has a completely other syntax..?

I realise that it might probably be more appropriate to ask in a FreeBSD
group...

regards

Geir


.



Relevant Pages

  • Re: Create log file from script code..
    ... The mOnOwall distro unfortunately does not have any /etc/init.d folder ... FreeBSD has a completely other syntax..? ... Unless /bin/sh is not a POSIX shell (which it normally is on ... Shell Scripting Recipes: | My code in this post, if any, ...
    (comp.os.linux.misc)
  • hp dl360 doesnt boot 7.0 snapshot march. please confirm
    ... FreeBSD 7.0 current from march or feb couldn't be bootet at all the kernel stuck after "pci2: <ACPI PCI BUS> on pcib6 found". ... Normally the kernel would find the ciss0 device after that, ...
    (freebsd-current)
  • Re: Sound problem ...
    ... Then fix it. ... Best Regards, ... Version: GnuPG v1.4.0 (FreeBSD) ...
    (freebsd-questions)
  • Re: hp dl360 doesnt boot 7.0 snapshot march. please confirm
    ... FreeBSD 6.2 can be bootet correctly besides a strange 3 minute timeout ... kernel would find the ciss0 device after that, ... kernel stuck. ...
    (freebsd-current)
  • Re: Dowload FreeBSD 6.1 via bittorrent
    ... With regards ... Why don't you download via official freebsd ftp server. ... To unsubscribe, send any mail to ...
    (freebsd-questions)