Wednesday, June 11, 2014

Adding random number to your cronjob URL

Update on Aug 22, 2014: Adding two more keywords: __account__ and __cronjob__. This feature is now supported in both URL and POST data (click Edit cronjob > More options > select HTTP Method: POST or PUT).

To prevent your web server from caching your cron script result, you can now add these keywords into your URL and POST data, and it'll automatically be replaced with a number when your cronjob is executed:

__random__ will be replaced with a random number
__timestamp__ will be replaced with the current Unix timestamp
__account__ will be replaced with your SetCronJob account ID
__cronjob__ will be replaced with your cronjob ID
(You can suggest more keywords by contacting me.)

For example, you can add it into your cronjob URL like this:

Each time your cronjob is executed, SetCronJob will replace that keyword with a random number, for example:

If you have any question or need any help, feel free to contact me or leave a comment below.

Thursday, April 10, 2014

Security Update: Heartbleed

Hello all,

You may recently hear about Heartbleed, an OpenSSL bug that allows attackers stealing protected information. 2 years ago, SetCronJob went 100% SSL to make sure your data is safe and secured. Like many other teams, we took action immediately to fix the vulnerability.

Now SetCronJob is no longer vulnerable. You can test it here.

We also regenerate our SSL certificate as recommended by security experts. However, you're strongly recommended to change your password at SetCronJob and many services that you've logged in recently.

BTW, your password is not stored on SetCronJob server. We use the best one-way encrypted function to encode your password, so even when our database is exposed, attackers can't get your plain password.

If you have any questions or concerns, please email me.

Best regards,
Nguyen An Thuan.

Sunday, November 24, 2013

Check cron output against a pattern

You can check your cronjob's output against a string or pattern now. If it matches the provided string/pattern, we'll send you a notification.
Notify you if your cronjob output contains fail, error, fatal or warning text.
To add a string or pattern to check, just Edit your cronjob, click More options and enter desired string. We supports:

Normal text
Enter anything you want e.g. for Fatal error, we'll notify you if your script prints out some text containing Fatal error. Please note that this is case-insensitive check, e.g. "fatal error", "Fatal Error" or "fAtAl ErRoR" are considered as match.

Regular expression
Its format is the same of PHP's preg_match pattern syntax (PCRE syntax). It must starts with / and ends with / (plus modifiers if any).
For example, with /fail|error|warning/i, we'll notify you if your script output contains fail, error or warning (the i modifier will make it case-insensitive check).

Negative check
Add a exclamation mark ! before the text or regular expression, we'll notify you if the script output does not match the text/pattern.
For example, !success will require SetCronJob notify you if the script output doesn't contain success.

If you have any question or suggestion, feel free to let us know by leaving a comment below, or email us.

Thursday, November 14, 2013

Cronjobs every 30 seconds

Besides Minute, Hour, Day, Month, Weekday, we've just added a new time field: Second, with selectable values 0 and 30. With this new field, you can set up your cronjob to run every 30 seconds (twice a minute).

To make your cronjob execute twice a minute, just Edit your cronjob, then select When to call: Every 30 seconds.
Set cronjob to run every 30 seconds
You can also hit Details button and select desired Second values for your new and existing cronjob e.g. make your cronjob execute at midnight,second 30 if necessary.
Run cronjob at midnight, second 30 (00:00:30)
Cronjob every 30 seconds will run 2,880 times a day, so a Silver account can add 1 cronjob every 30 seconds, and a Gold account (with 7200 daily executions) can add 2 cronjobs every 30 seconds. We also offer bigger Gold plan with more daily cron executions, check it out at Billing > My Plans tab.

If you have any question or feature suggestion, feel free to comment below or contact us.

Thursday, October 31, 2013

SetCronJob Billing System

SetCronJob recently added a billing system which allows you to manage your billing addresses, payments and automatic payment profiles.

Manage billing addresses
To see all billing addresses, just visit Billing > Billing address. You can add new, edit, delete and make a billing address as primary address.

Primary billing address will be populated into the payment forms e.g. 2Checkout's billing information form, so you won't need to enter it again (and also take advantage of 2Checkout Direct Checkout - popup with simplified checkout form).
2Checkout Direct Checkout
Payment receipt and invoice
To see all payments made to SetCronJob, visit Billing > Payments tab. You can view a particular payment receipt by hitting the View button. On the receipt page, you'll be able to edit its attached billing address, or change to another billing address if necessary.

Download invoice in PDF format
At the payment receipt (hitting the View button), you can download the invoice for the service corresponding to that payment by hitting the Download PDF button. Please make sure that you have a billing address attached to that payment, and the billing information is correct.

Request a refund
At the payments page, you can also request a full or partial refund of your latest payment. Each payment gateway has its own limit of refundable duration e.g. PayPal allows us to issue a refund for payment made within 60 days, while 2Checkout can issue a refund after 180 days.

Within 3 days since payment date, you can request a full refund (100% amount) of your payment. After that we'll calculate remaining credit your current plan and account balance and show you the refundable amount (from $0.01 up to 100% amount).

Request a refund of a recurring payment will also cancel its corresponding automatic payment profile.

We'll process your refund request automatically using payment gateway's API. It takes a minute or two for your payment to be refunded.

Manage your automatic payment profiles
At the payments page, we also show the list of Automatic payment profiles (PayPal subscription, 2Checkout recurring payment). You can Cancel any profile if necessary, so it won't automatically charge you next year; but you'll need to create new one or renew your account manually.

If you want to change your premium plan (Silver, Gold account), you'll need to cancel the automatic payment profile corresponding to it if any.

If you already have an automatic payment profile e.g. a PayPal subscription, and you can't find it at your Billing > Payments page, please contact us, or search and manage it directly within your PayPal account.

Have any question or suggestion? Please comment below or contact me!