Logging of changes to jobs - control-m

Are changes to a Control-M job "Application" and "Sub Application" recorded in a log? If so, where can I find them?
Does this require Control-M Workload Change Manager?

Related

Why are my Episerver jobs failing when running automatically or run by the scheduler?

I'm using Episerver to run various jobs on an intranet website, and almost all of these jobs will fail to run automatically, but will work just fine when I run them manually.
99% of the time, this is the error message I get: Could not load file or assembly 'Midco.CMS.Intranet' or one of its dependencies. The system cannot find the file specified.
If I'm actually missing an assembly, then how is my job able to run manually?
The same code was run automatically on previous publishes of our site, but is now failing. I've tried creating a 'dummy' principal role with admin privileges, hoping that would allow the job to run, I've looked online for other solutions, and have tried debugging, but I can't find a way to make the jobs run automatically.
Are there any Episerver users out there who know how to get the job to run automatically? Thanks!
in order to get the scheduled Episerver jobs to run again, my team had to copy our existing Episerver database to a new database, then delete the old one. When we scheduled the jobs after copying to the new location, they all ran on time, without error, and have been running without issue for about 8 months. It was drastic but it worked.

Unable to map a shared folder in a batch script scheduled using task scheduler on windows 2012

I have a batch script which tries to map a network folder to a drive (net use Z: \ComputerName\Sharefoldername). The batch script is scheduled to run on windows using task scheduler. The script hangs when the following option is selected "Run whether user is logged on or not". It hangs in either case when "Do not store password" option is selected or unselected.
However the script runs successfully and network folder is mapped when the following option is selected "Run only when user is logged on".
The user running the batch script is a administrator on that machine. Also
following option is always selected "Run with highest privileges"
This is a security measure by design in more recent versions of Windows. Mapping a drive is user/profile dependent. When selecting "Run whether user is logged on or not", the script with run in a non-interactive mode (session 0) since it is not running as any particular user. This link explains it fairly well.
The script will definitely run successfully if there are no errors, but unfortunately, you'll be mapping the drive letter for a non-interactive session instead of the user intended for. If you add a command that is not user dependent, for example md c:\DirectoryTest, you will see that it'll still create the folder "DirectoryTest" in the c: drive since creating a folder is not user/profile dependent.
I think your best bet might be adding your mapping as part of a login script, or using Group Policy if available.
Please be sure to mark your questions as answered if you have been successfully helped.

Quartz.NET: in the Asp.Net Web vs Console Application

I need to run 4 background gobs for cleaning temp files and proccessing some files. I have chosen Quart.net for the job.
I have a Asp.Net website, which accepts uploading files that will be processed by the Quartz Jobs at night.
First i thought about making a console application for the Quartz jobs, keeping the website and the jobs totally decoupled.
But then, i've seen that i will need some config values (connectionstring and paths to files) that are on the asp.net web.config. So a question came to my mind:
Should i run the jobs through the asp.net instance or should i do this on a console application?
Furthermore, i want that when the Quartz jobs start running, the website show a special page (like "We are processing the files...).
What i care the most is the performance, i don't want the website to be affected by the Quartz jobs, neither the jobs' performance affected by the website.
So, what should i do? Have you done something like this and can give me an advice?
Should i run the jobs through the asp.net instance or should i do this on a console application?
If you want to have to manually trigger them each night, sure. But a console application using the host system's task scheduler seems like a more automated solution. A web application is more of a request/response system, it's not really suited for periodic or long-running actions. Scheduling some sort of background operation on the host, such as a scheduled console application or a windows service, would serve that purpose better.
Note that if it truly needs to be unattended and run even when there's nobody logged in to the server console, a windows service may be a more ideal approach than a console application.
i've seen that i will need some config values (connectionstring and paths to files) that are on the asp.net web.config
Console application have App.config files which serve the same purpose. You can use that.
i want that when the Quartz jobs start running, the website show a special page
You definitely want to keep the two de-coupled. But you may be able to accomplish this easily enough. Maybe have some sort of status flag in the database which indicates if any particular record is "currently being processed". The website can simply look for any records with that flag when a page loads and display that message.
There are likely a couple of different ways to synchronize status here, it doesn't really matter what you choose. What does matter is that the systems remain decoupled and that any status which is statically persisted is handled somewhat carefully to avoid an errant process from leaving an incorrect status. (For example, a background task sets a status of "processing" and then fails in some way. The website would forever indicate that it's processing.)

Running a nightly process with Meteor

I'm writing an application using meteor and I need to run a process each night at a certain time. This process will need access to Meteor's Mongo database and would benefit from other Meteor features too.
Is it possible to run a meteor process or task of some sort on a scheduled basis? Or will I need to use a different stack to achieve what I want?
There's a smartpackage called meteor-cron that can help you: https://atmosphere.meteor.com/package/cron.
Additionally if you want to go more manual you can use Meteor.setInterval (docs) to run every hour and if its midnight to run your task.
Keep in mind if you use meteor deploy for meteor's free hosting, if no one visits your site it will go into a 'sleep mode' then wake up when the next user visits it. The user won't notice it but your meteor app won't be running to run these tasks.

How to view and remove cron jobs in drupal 7

I'm new to drupal 7 and I need to see what cron is running. I had a cron Feeds scheduled to run once a day and it is no longer needed. I deleted the feed but the cron is still running.
Thanks
Drupal has an auto-cron implementation, to disable it go to mysite.com/admin/config/system/cron and set 'Run cron every' to 'Never'.
If that doesn't work check there are no lingering jobs scheduled in your server's crontab.
Hope that helps
EDIT
Just to add, you can't 'see' what jobs are running in Drupal as such because there is only one - the job you can cancel by setting the afore-mentioned setting to 'Never'
Use for this module ultimate_cron
you may read extended log message and control of all cron jobs.

Resources