Friday, September 21, 2018

Auto delete one-time cronjobs

Hello there,

Now you can save one API requests with our new feature: automatically delete one-time cronjobs after they executed.

First, create or edit a group and update the select box Automatically delete stopped (one-time) cronjobs after to the desired value. You may want to keep the executed cronjobs long enough so you can check its execution results later.
Auto delete one-time cronjobs
After that, just create all one-time cronjobs under that group, and that's it.

Once your one-time cronjobs executed, they'll be deleted automatically after the set time.

Friday, August 24, 2018

5 new servers are added

Hello there,

SetCronJob just added 5 new servers and will be using them for processing your cronjobs. Please add their IP addresses to your whitelist as soon as possible.

Here are the new IPv4 addresses:

And here are new IPv6 addresses


You can view our full list of IP addresses at our Help Center.

If you want to receive email notification every time we add new servers, please subscribe here.

If you need any help, please feel free to create a ticket at the Help Center.

Wednesday, August 8, 2018

Set cronjob to run command on your server using SSH

SetCronJob is a web-based cronjob service, and currently, you can only set cronjob with URLs to your scripts.

If your cron scripts only support CLI (command line interface), then you may use our free service at Clustermin to create a cron trigger. It requires that you can access your server using SSH connections.

You can create a free account here. You can add up to 5 servers in the free account, and it'll be more than enough for your case.

First, you'll need to connect your server to Clustermin. For setting up cronjob, you should enter the user that has access to your web folders (public_html, www, etc.) and uncheck the box Create user. No worry, it will install nothing but a public SSH key into your authorized_keys file so that it can connect your server securely using SSH key next time.

Secondly, make sure your command works fine. Click the Execute button, then enter the whole cron command e.g.
php /home/your-user/ do:something
and make sure it works as expected.

Thirdly, when you're sure the command works, visit Script > Add a script to create a script with the command as contents. Remember to check the box This is a private script.
Finally, visit Trigger > Add a trigger, then select your newly created at Run script, and your connected server at On servers.

When the trigger is created, you can copy the trigger URL, and set cronjob with it.

At your desired time, SetCronJob will execute (pull) the trigger, and Clustermin will execute the command on your server.

Let me know if it works for you ;-)

Saturday, July 21, 2018

Multi-Datacenter High Availability for SetCronJob

Hello there,

After recent incidents with the datacenter SetCronJob hosted in, I decided to move all the main servers to another data center as well as work on multi-datacenter clustering.

The servers transfer and multi-datacenter setup were completed without any service downtime. Now SetCronJob fully achieved high availability that can withstand whole datacenter outages.

The clustering was done with great help from Clustermin, my developing service for server cluster management and automation. Setting up once and it'll run setup script, update firewall rules and configurations files in all servers and all clusters, whenever a new server is added or old server removed.

The current setup will greatly improve our service reliability, and hopefully, I don't need to inform you about any downtime again ;-)

Wednesday, July 18, 2018

Power outage in our data center

Hello all,

I'm sorry to inform that we had another power outage at our new datacenter (we migrated to another data center after the last incident). Because of it, our service was unavailable from 22:56 to 23:55:30 July 18, UTC time.

The service has been working fine since then.

I'm still working on our server clusters to prevent this from happening again.

Sorry for the inconvenience that caused.

If you encounter any problem with our service, just let me know.