Link to home
Start Free TrialLog in
Avatar of Sheldon Livingston
Sheldon LivingstonFlag for United States of America

asked on

Running a script via Task Scheduler.

I have a vbs script that sends me a text message.  Running the vbs file from it's location appears to work (I get the text message).

I created a task to run this script in the event of a successful backup.

Running the task on demand shows it ran successfully but I don't receive a text message.

This is running on Server 2012.
Avatar of Robberbaron (robr)
Robberbaron (robr)
Flag of Australia image

it probably depends upon the user context u run the script as.
when scheduling task, you get to nominate a user.  try setting yourself as user and see if it works then. this will narrow the problem area/
Avatar of Sheldon Livingston

ASKER

Tried that... tested and failed as an Admin.
Add some logging to the VBS file
Sorry folks... I figured out the issue.  I was running the backup task... not the notification task.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.