When should I use a UC4 Schedule object?

By now you realize that there are several ways to get UC4 Jobs, JobFlows, Scripts and other objects to execute periodically.  Some of the more common ways include using “Execute Recurring…” from the GUI, using ACTIVATE_UC_OBJECT from another scheduled object’s script, relying on retry-until logic or activating a Schedule object. However, there are some clear-cut instances […]

How can I use UC4’s External Dependencies?

One of the hottest new features in UC4 job scheduling has been the inclusion of explicit “external dependencies” in JobFlows.   External dependencies allow steps within your JobFlows to wait for other JobFlows (or other objects) to finish up their runs before your JobFlows proceed. External dependencies are incredibly useful when trying to define complex […]

How do I suppress a specific return code from a UC4 Unix job?

Some processes return a non-zero return code even if all was well.  On Linux and Unix machines some UC4 developers use the following technique to keep their overall scripts from returning non-zero return codes. .\non_standard_cmd  (let’s say this returns an error code of 255) pwd    (this almost always returns an error code of 0, […]

Auditing the hostnames and usernames in use on UC4

Security auditors are often interested in which machines are automatically accessing other machines, and a list of users that are used to connect. Fortunately, there is a single table called “OLC” in UC4’s configuration that provides this information if queried properly.  This article shows you how to use a single UC4 job to dump this […]

How to diagnose simple UC4 GUI run problems

This article covers several common UC4 GUI run problems encountered after unpacking the files to a local directory on Windows desktops. Java Not Installed The UC4 GUI Windows executable simply displays a splash screen and then launches the real GUI application through Java.  If Java is not installed, you will often see a and error […]

Adding More Information to UC4 Statistics and Activities Entries

A common complaint about the UC4 Activities and Statistics windows is that they don’t show that one extra piece of information you’d like to see.   For example, you may be changing hostnames and usernames dynamically in your UC4 file transfer scripts and want that information surfaced to operators watching failed objects in your Activities […]

How to make new UC4 JobFlows error out when a Job gets an error

If you’ve ever fiddled with dependencies within a JobFlow to make sure that one failure will stop processing cleanly, you’re probably interested to know  that there’s a way to set your dependency value to “Any_OK” by default. To do this, open your Options, select Settings, go to the ProcessFlow tab and set “Status for Internal […]