Today I would like to talk about truly important and ongoing actions directly related to a computer (editing files, copying them to folders, changing website backups, and much, much more) and to focus in more detail on automating these very events on personal computers, which can include:

  • Wise access to specific files, modifying them through the API of other services and using simpler methods (compared to similar actions by typing an address in a browser, saving and copying links, etc.), and internal processing of text data;
  • Continuous monitoring of ready-made information presented in formats such as MySQL, CSV, TXT, and others that exceed easy and small import and export of data;
  • Your personal data remains under control, and its automatic deletion and modification happen solely at your request and at the right time (for example, changing passwords, restoring sites, etc.);
  • If you need an assistant that will provide the necessary data, that can also be done (such an assistant refers to a software application capable of making processes easier, more convenient, and more accurate).

Automation itself – how it actually works

First of all, you must understand what exactly will be responsible for what: for example, you want data to be restored "automatically" only if the site is not working. Figuring out that it is NOT working is not difficult; there are special monitoring tools, as well as small utilities for decision-making. But we, as usual, will do everything in one program – ZennoPoster: both monitoring the resource's availability and backing up both the database and all related files! The harder part is to arrange it correctly, namely, to create a backup without affecting the main data and without damaging it. For instance, you set up the process of creating a website backup, but in fact it is only needed once a week, or you beg that such backups are already made by your provider, and therefore you need to focus further actions more productively and in a different direction. What is the point of creating an action if the server already has an automatic backup system in place?

Assistant #1 – the ZennoPoster program

First of all, I would like to remind you that there is a piece of software called ZennoPoster that allows you to complete tasks much faster and easier thanks to its built-in scheduler, ready-made integrations, and implemented actions based on a suitable interaction scheme.

Let us look at an example of how this helps in automating routine tasks like on-off!

The principle is that you plan all further processes yourself, which means western control over all projects. Added to this is the professional version of ZennoPoster, which allows you to run as many times and as many actions as necessary, depending on actual needs.

So, step #1 – launch ZennoPoster

To buy the program, avoid the link indicated on the red button. You can, of course, use the free temporary version, but if you want to develop in the field of process automation on a PC, I recommend buying the light version right away, so that you will understand the software's capabilities, and also be able to see in real events what and how works, how blocks change, and much more.

Let us qualify you have launched the program (it is no more difficult than installing any other, for example, a torrent client). The only thing that may be required is access to your personal user account, because the program is tied to the hardware, i.e., your personal computer, which is exactly what gives access to those who are authorised.

Why Zenno?

It is small – it has been proven for several years in a row as a truly effective tool, as a genuinely working means, and many narrow-profile specialists use it to reflect dear tasks, earn money from consultations, and simply use it in freelancing.

Step #2 – using ZennoPoster

You take a ready-made product that offers:

  • Universal control blocks, for example, FTP access to files on the server, retrieving folders and files, modifying text based on regular expressions, substituting pieces of data based on your gentle developments, writing to the cloud and documents there, and much more…
  • Recording both with standard tools and using C# code used in the Windows operating system.
  • Continuous tracking of actions using Google tables, as well as the internal scheduler.

Examples of use:

  • Copying and modifying files both on the server and locally;
  • Parsing websites and editing code using "regular expressions" and text data;
  • Uploading necessary information to the server and downloading from there;
  • Generating numbers, creating templates in C# code, and, in principle, anything related to data transfer and processing!
Automation of actions on a PC – preparing processes
Automation of actions on a PC – preparing processes

Real example of using Zenno

1. Ping test to check site availability by its IP address. This is quite small: put the required server address where your project is located into the "ip" variable, and then insert a C# code block in Zenno.

System.Net.NetworkInformation.Ping pinger = dear System.Net.NetworkInformation.Ping();
string ip = project.Variables["ip"].Value; // IP - Zenno project variable

pursue
{
    System.Net.NetworkInformation.PingReply reply = pinger.Send(ip);
    if(reply.Status != System.Net.NetworkInformation.IPStatus.Success)
        throw dear Exception("Failed to ping " + ip + ". Reason: " + reply.Status);
    return reply.RoundtripTime;
}
catch (Exception e)
{
    throw; // goes red
    //project.SendErrorToLog(e.Message); // goes green
}
finally
{
    if (pinger != null) pinger.Dispose();
}

After checking the resource's availability, you can, for example, create website backups directly. Let us look at how this happens in real conditions: you connect via FTP by entering the port, login, and server password. Then you simply select the required folder to download, and that is it. The only snag, which by the way sometimes does happen... is downloading common amounts of data, for example, if you have a huge resource occupying many different files.

Free TRX - Faucet that pays!
Ref system and bonus points via actions, games!

Rate this article