Friday, October 27, 2017

SetCronJob API request now supports JSON

Hello there,

From now on you can send API request via POST with parameters in query string format or JSON format.

Query string format:
curl -d 'token=******'  https://www.setcronjob.com/api/cron.list

JSON format:
curl -d '{"token":"******"}'  https://www.setcronjob.com/api/cron.list

We also update our cronjob execution results data structure. In short, we moved most data into cronlog.result including startTime, executionTime, status, etc. For backward compatibility, you can still access those values at the moment, but it will be removed within 3 months. You'd better update your script to reflex those changes if any.

Wednesday, September 6, 2017

Share your account with other users

If you're working in a team and would like your colleagues to log in to your account without sharing your email and password, you can generate a one-time login URL.

Just visit Account > One-time login URL, then click Generate one-time login URL. After confirming, you'll get an URL for anyone to log in to your account. It'll be valid within 24 hours, so you just need to send it to your friend or colleague to log in. Once the link is used, it'll be removed and no longer valid.
Generate an one-time login URL.
What they can do after logging in using that link:
- Manage your cronjob (including view, add, edit, delete, view logs, etc).
- View your account information (name, email, plan, payments, address, etc).
- Make payment and change your account plan.
- Any other actions as long as it doesn't require your current password.

Without your password:
- They can not change your password.
- They can not change your email address.

If your friend or colleague would like to log in to your account more frequently, tell them to connect their social network accounts such as Facebook or Google account, so they can log in later using them. To do so, visit AccountConnected social network accounts, click Connect Facebook or Connect Google.

Wednesday, August 9, 2017

Set cronjob to run once a year

You can now set cronjob to run in a selected year. It'll be useful in case you want your cronjob to run only one time and not repeat in next years.

To select the year field, click Edit cronjob, click button Time settings next to When to call field, then select the Year value. The default value is Every year.
Select the year to run your cronjob in

Wednesday, July 5, 2017

Separated failed cron execution results

Hello there,

If you have a Gold account or above, you can see the separated failed cronjob execution results. We will store the latest failures so you can check it later at any time.

To view the failed results, just click on Logs button on any cronjob, then click Failed executions button.

Saturday, May 13, 2017

Retrying failed cron executions

A new feature has been added for Platinum and Diamond account. SetCronJob now can automatically retry failed executions. To update your cronjob, click Edit, at the section Detect failure, retry and notify you, update Retry and Retry after values:
Retry settings
You can set it to retry up to 10 times, after 1 - 60 minutes after a failed execution.

When a cronjob fails, it'll be scheduled to rerun manually after X minutes, again and again until it's okay. This still counts in the total failures, so you should also increase the Failure threshold to a bigger value.

It helps in temporary problems (e.g. your website is down or unreachable in a few minutes) and retrying later can fix it. If your cronjob fails persistently, you should check and fix it yourself.