Automation

Discussion in 'Software' started by zxspectrum, Dec 2, 2020.

  1. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    Does anyone use any automation software at all?

    I did use task scheduler on windows and that worked a treat, but for some reason, this has just stopped working and I can find any decent alternatives.

    Any suggestions would be appreciated, preferably free
    Ed
     
    Certifications: BSc computing and information systems
    WIP: 70-680
  2. dmarsh

    dmarsh Petabyte Poster

    4,168
    428
    219
    I just write whatever code i want, nearly all programming languages are now free.
     
  3. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    If only 1, I could code, 2 if I had the time to learn to code

    Then maybe ha ha

    Ed
     
    Certifications: BSc computing and information systems
    WIP: 70-680
  4. dmarsh

    dmarsh Petabyte Poster

    4,168
    428
    219
    Can learn basic bash or python in a week.

    However scripting languages work best with console programs or programs with an API.

    You are correct if you need to automate a GUI you will need something else, there are lot test tools out there what make automating either web or thick client UI's pretty easy. Selenium is the most well known open source one.

    I guess if you want hot keys and nice UI etc, maybe its worth looking at end user automation tools, I don't use em but lots links on web. Maybe someone else can help.
     
  5. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    Cheers DM

    I have just discovered selenium, so will see how I get on with that

    Ed
     
    Certifications: BSc computing and information systems
    WIP: 70-680
  6. Nyx

    Nyx Byte Poster

    184
    20
    15
    What do you want to automate? there's plenty of solutions for different needs. Usually automation refers to devopsy type of stuff, where you automate deployments of code and/or infrastructure. I assume this is not what you need.
    Task scheduler has many quirks when mixing local and domain accounts, shares etc but it works.
    Batch or ps scripts can do all kinds, you can automate simple tasks with AutoIt, Autohotkey you can have stuff running on defined key combinations.
     
  7. Jaron78

    Jaron78 Gigabyte Poster Forum Leader

    Top Poster
    of the Month

    1,278
    245
    162
    Ive just started looking at Ansible.
    I was going to start my CCNP but I still have two and a half years to run so going to look at Juniper Automation and DevOps as that will relate more to a Junior Networking role in the current place.
     
  8. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    Been looking into a few options to be honest. I have some regular boring tasks I have to do, one was to run a report to t let us know how many assignments have been created, all I would do for this was remote onto the computer in work, locate, edit with IDLE and then run or press F5. The report would then complete. I did have a program called system scheduler that would run this but that stopped and I could not work out how and why, I also tried a few others like Z cron, task till dawn and task scheduler - these would not produce the report I needed. So this week, I started looking into python and came across something called Pyinstaller, which builds and compiles a script and creates an executable, then I managed to get this to work with windows task scheduler - so that is a win.

    My next thing I want to do, involves logging into a website and downloading the results of an attendance register and on the Friday of each week, placing them into a teams group for someone. The first thing I am going to do with this is write the whole process down and then do it in chunks, I know I can use selenium and other things, possibly Scrapy or similar, I just need to work out the elements of the web pages that carry out the actions and put them in a script, then I can use Pyinstaller and task scheduler to do its thing.

    Its actually quite good when you get in to all of this
     
    Certifications: BSc computing and information systems
    WIP: 70-680
  9. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator Premium Member

    6,707
    754
    318
    Powershell for windows environments here

    and

    PowerCLI built on Powershell for VMware environments here

    Both free with a very active community of infrastructure automation fans scripting anything you can think of
     
    Certifications: VCP4, 5, 6, 6.5, 6.7, VCAP DCV Design, VMConAWS Skill, BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, CCA (XenApp6.5), MCSA 2012, VSP, VTSP
    WIP: VCAP 6.5 DCV (Deploy)
  10. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    Yeah, I will give them a go as well at some point if I stumble with the python approach
    Ed
     
    Certifications: BSc computing and information systems
    WIP: 70-680
    JK2447 likes this.
  11. JK2447
    Highly Decorated Member Award 500 Likes Award

    JK2447 Petabyte Poster Administrator Premium Member

    6,707
    754
    318
    If it's any sort of Windows 2008+ Win 7+ automation, Powershell will likely be your best and easiest bet as its made by MS, just my two cents bro
     
    Certifications: VCP4, 5, 6, 6.5, 6.7, VCAP DCV Design, VMConAWS Skill, BSc (Hons), HND IT, HND Computing, ITIL-F, MBCS CITP, MCP (270,290,291,293,294,298,299,410,411,412) MCTS (401,620,624,652) MCSA:Security, MCSE: Security, Security+, CPTS, CCA (XenApp6.5), MCSA 2012, VSP, VTSP
    WIP: VCAP 6.5 DCV (Deploy)
  12. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,021
    187
    219
    So after some messing about, it seems my choices are to use AutoIT for anythingthats program related and for web based stuff, Selenium with python.
    Not looked into PowerShell yet

    Ed
     
    Certifications: BSc computing and information systems
    WIP: 70-680
    JK2447 likes this.

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.