Microsoft VBScript Professional Projects by by Jerry Lee Ford Jr
Author:by Jerry Lee Ford, Jr. [by Jerry Lee Ford, Jr.]
Language: rus
Format: epub
ISBN: 1592000568
Publisher: Course Technology
Published: 0101-01-01T00:00:00+00:00
Creating Logic to Limit When the Script Can Execute
Molly plans to create a single script that will control the execution of both her report and log file analyzers and an archive management script that needs to be executed on the first day of each month. Molly plans to use the built-in VBScript Day() and Date() functions to ensure that the archive management script, which is named ArchiveManager.vbs, will only execute on the first day of each month. This way Molly can write a single script that can handle scheduling the execution of the MstrSched.vbs every day to run the report and log analyzer scripts, and still accommodate the monthly execution of the archive management script.
The syntax of the Date() function, which returns the current system date, is outlined below.
Date()
When executed, it returns the current system date in the form of mm/dd/yyyy, as demonstrated below.
strTodaysDate = Date() MsgBox strTodaysDate
When executed, the previous VBScript statement displays a pop-up dialog box, as demonstrated in Figure 19.3.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12518)
Hello! Python by Anthony Briggs(9865)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9755)
The Mikado Method by Ola Ellnestam Daniel Brolund(9745)
Dependency Injection in .NET by Mark Seemann(9291)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8256)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7739)
Grails in Action by Glen Smith Peter Ledbrook(7665)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7514)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(6739)
Microservices with Go by Alexander Shuiskov(6503)
Practical Design Patterns for Java Developers by Miroslav Wengner(6404)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6381)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6376)
Angular Projects - Third Edition by Aristeidis Bampakos(5759)
The Art of Crafting User Stories by The Art of Crafting User Stories(5292)
NetSuite for Consultants - Second Edition by Peter Ries(5236)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5052)
Kotlin in Action by Dmitry Jemerov(5017)
