Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
Jump.png 85.1 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
Jump2.png 73.0 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
PasswordExpiration.png 171.2 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
UserVariable.png 52.7 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
UsersList.png 64.4 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
email.png 85.4 kB 2 09-Oct-2016 18:14 Halmágyi Árpád

This page (revision-6) was last changed on 09-Oct-2016 18:14 by Halmágyi Árpád

This page was created on 09-Oct-2016 18:14 by Halmágyi Árpád

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
!Notify users of expired password.
!Notify users of expired password.\\
At line 3 changed one line
This task flow, needs CrushFTP 7.2.0_28 and an enterprise license to be able to use the "conditional" logic from the jump task and the millis variable.
This task flow, needs CrushFTP 7.2.0_127 and an enterprise license to be able to use the "conditional" logic from the jump task and the math variable.\\
At line 5 changed 2 lines
You need to create a new job in the jobs, tab.
[attachments|PasswordExpiration.png]
You need to create a new job in the jobs, tab.\\
[attachments|PasswordExpiration.png]\\
At line 8 changed 2 lines
Step1 is to read and create the UserList of the users or groups we work with.
[attachments|UsersList.png]
Step1 is to read and create the UserList of the users or groups we work with.\\
[attachments|UsersList.png]\\
At line 11 changed one line
So we first link a variable from the user object loaded in step 1, and parse out its date format into milliseconds.  Then we do a comparison with that value, versus the current milliseconds, minus 1 days worth.  If the expire time is sooner than 1 day ago, we send an email.
So we first link a variable from the user object loaded in step 1, and parse out its date format.  Then we do a comparison with that value, versus the current date, minus 1 days worth.  If the expire time is sooner than 1 day ago, we send an email. In this task all users that have the password expiration sooner then 7 days will be notified every day for the password update.\\
At line 13 changed 2 lines
Step2: UserVariable, expire_millis = {parse_start:MM/dd/yyyy hh:mm:ss aa}{expire_password_when}{parse_end}
[attachments|UserVariable.png]
Step2: We check if the user has password expiration set so that only these users will be notified.\\
[attachments|CrushTaskExample8/Jump.png]\\
At line 16 changed 2 lines
Step3: Jump conditional, {expire_mills} greater than {add_start:-86400000}{millis}{add_end}
[attachments|Jump.png]
Step3: Using the math variable we can determine the user expiration time from the current starting time:
{math_start:l}{parse_start:MM/dd/yyyy hh:mm:ss aa}{expire_password_when}{parse_end}-{now}{math_end} Less Than Or Equal {math_start}1000*60*60*24*7{math_end}\\
[attachments|CrushTaskExample8/Jump2.png]\\
At line 19 changed 2 lines
Step4: true, send email, false, do nothing
[attachments|email.png]
Step4: true, send email, false, do nothing\\
[attachments|email.png]\\
Version Date Modified Size Author Changes ... Change note
6 09-Oct-2016 18:14 1.335 kB Halmágyi Árpád to previous
5 09-Oct-2016 18:14 1.335 kB Halmágyi Árpád to previous | to last
4 09-Oct-2016 18:14 1.335 kB Halmágyi Árpád to previous | to last
3 09-Oct-2016 18:14 1.215 kB Halmágyi Árpád to previous | to last
2 09-Oct-2016 18:14 1.031 kB Halmágyi Árpád to previous | to last
1 09-Oct-2016 18:14 1.005 kB Halmágyi Árpád to last
« This page (revision-6) was last changed on 09-Oct-2016 18:14 by Halmágyi Árpád
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
CrushTask

JSPWiki