0

I am looking for an easy way for my clients to run one simple command that will do these 3 tasks once a month:

  • Run Cleaner (CCleaner)
  • Scan C Drive (Malwarebytes)
  • defrag C Drive (Defraggler)

These are all manual tasks, and I am having trouble getting my clients to do these 3 little things once a month.

DavidPostill
  • 153,128
  • 77
  • 353
  • 394
sparky
  • 11
  • For each of those programs, first look at the documentation and/or help files of each and see if they have any CLI.. This would tell you if it's possible and give you a starting point but using something like `START "title" "app.exe" arg1 arg2 `. You probably should read up and take a stab at trying to create something and post what you are having trouble with if you need the logic to help you automate those tasks. – Vomit IT - Chunky Mess Style Apr 18 '18 at 14:38
  • Please note that https://superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read [How do I ask a good question?](https://superuser.com/help/how-to-ask). – DavidPostill Apr 18 '18 at 14:56
  • Unless your clients know exactly what they are doing then running CCleaner can do bad things to the OS. – DavidPostill Apr 18 '18 at 14:57

1 Answers1

1

Use the Windows Task Scheduler.

Here is the Windows documentation.

You will have to find out how they can be started from the command line to run the tasks you want them to do:

Jan Doggen
  • 4,108
  • 10
  • 36
  • 51