[Info-ingres] Windows Server and batch scripts

Sidney sidney.glenn at actian.com
Thu Jul 27 10:07:19 UTC 2017


Marty

Not sure what version of wintendo you are on but loading ubuntu could be 
helpful

https://www.lifewire.com/install-ubuntu-linux-windows-10-steps-2202108

Cheers

/Sidney /
<url>
_/Sidney.Glenn at actian.com /_| Principal Support Engineer | 1800 614 435 
| Location: Brisbane [GMT +10]


On 27/07/17 19:45, Martin Bowes wrote:
> You had me right up until you said Python.
>
> Is it still dependent upon indentation for its compilation?
>
> When I first came across that I swore an oath to the God I don't believe in to never look at it again.
>
> Is there a Perl for Windows?
>
> Actually having had a quick look at Powershell it looks like a cross between bash and C with a few idiosyncracies thrown in for good measure.
>
> Marty
>
> -----Original Message-----
> From: Roy Hann [mailto:specially at processed.almost.meat]
> Sent: 27 July 2017 10:11
> To: info-ingres at lists.planetingres.org
> Subject: Re: [Info-ingres] Windows Server and batch scripts
>
> Martin Bowes wrote:
>
>> Much to my horror I've had to install a server on a windows
>> box....Ugh, I feel unclean.
>>
>> How do you automate batch scripts to do basic maintenance such as
>> backups, modifies and optimizes? If anyone has a sample script and
>> some pointers on what the cron equivalent is on Micropox then I'd be
>> very grateful to see them.
>>
>> Martin Bowes
>   
> As Michael Cressy pointed out, the Windows Task Scheduler is what you need. As he also said, it's more powerful than cron.
>
> What he didn't say is that it can be a royal pain to diagnose and debug when something goes wrong. It's idea of success is doing its own job successfully, not your script doing its job successfully. "The operation was a complete success. Unfortunately the patient died."
>
> Working across multiple platforms I would not counsel you to invest any time in learning PowerShell. It is undoubtedly capable. It is vastly more capable than the DOS scripting language. But the learning curve is steep and long and you end up with a skill that is applicable only to Windows.
>
> I have become a bit of a fan-boy for Python (Python 3.5 to be specific), which I now use for all my platform-independent scripting.
>
>
>
> _______________________________________________
> Info-ingres mailing list
> Info-ingres at lists.planetingres.org
> http://lists.planetingres.org/mailman/listinfo/info-ingres
> _______________________________________________
> Info-ingres mailing list
> Info-ingres at lists.planetingres.org
> http://lists.planetingres.org/mailman/listinfo/info-ingres
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20170727/e56b32e8/attachment.html>


More information about the Info-ingres mailing list