Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-14) was last changed on 18-Nov-2024 12:18 by Ada Csaba

This page was created on 05-Dec-2023 05:32 by Ben Spink

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
!Date Variables\\
!Date Variables
[Server Variables] have additional variables that can be used in a CrushTask depending on the situation as well.\\
\\
Date variables can be used to reference the current file item's date/time. Ubiquitous, an be used in any context (user events, alerts, various email templates,jobs).\\
{{{
{MM} month number
{MMM} month abbreviated
{MMMM} month full
{dd} day
{yy} or {yyyy} year
{HH} 24 hour
{mm} minute
{hh} 12 hour
{aa} AM or PM
{ss} seconds
{S} milliseconds
{EEE} weekday abbreviated
{EEEE} weekday full
{W} week number in the current month
{w} week number in the current year
{u} day number of the week
{D}or {DD} day number in the current year
{F} day of week in month
{z} general timezone
{Z} RFC 822 time zone
{J} julian date
{millis} millisecond time
At line 3 changed 23 lines
Date variables can be used to reference the current file item's date/time.\\
{MM} month number\\
{MMM} month abbreviated\\
{MMMM} month full\\
{dd} day\\
{yy} or {yyyy} year\\
{HH} 24 hour\\
{mm} minute\\
{hh} 12 hour\\
{aa} AM or PM\\
{ss} seconds\\
{S} milliseconds\\
{EEE} weekday abbreviated\\
{EEEE} weekday full\\
{W} week number in the current month\\
{w} week number in the current year\\
{u} day number of the week\\
{D}or {DD} day number in the current year\\
{F} day of week in month\\
{z} general timezone\\
{Z} RFC 822 time zone\\
{J} julian date\\
{millis} millisecond time\\
{yesterday} millisecond time of yesterday (no variations)
{tomorrow} millisecond time of tomorrow (no variations)
{time} or {now} millisecond time of now (no variations)
}}}
At line 27 removed 3 lines
{yesterday} millisecond time of yesterday (no variations)\\
{time} or {now} millisecond time of now (no variations)\\
At line 39 added 3 lines
A trailing '!' indicates tomorrow. {MM!}{dd!}{yyyy!}\\
A trailing '!!' indicates next week. {MM!!}{dd!!}{yyyy!!}\\
A trailing '!!!' indicates next month. {MM!!!}{dd!!!}{yyyy!!!}\\
At line 44 added 2 lines
A leading '-' indicates the modified date and time of the file {-MM}{-dd}{-yyyy} {-HH}{-mm}{-ss}{-S}\\
At line 48 added 27 lines
\\
''(future date/times such as tomorrow, next week, next month start with CrushFTP 10.0.0_32+)''
\\
----
CrushTask / Jobs can reference their schedule name with {scheduleName}\\
{task_error} is the most recent task's error.\\
{task_errors} are all the task errors accumulated so far.\\
{task_error_names} are the names of all the tasks that had errors so far.\\
{last_error} is the last task error encountered, if any.\\
{name} is the filename of the item and {stem} is the filename without extension and {ext} is just the extension.\\
{path} is the path including the filename of the item. {parent_path} is the path without the filename.\\
{real_path} is the actual OS notation for a file:// item using backslashes on windows, etc. and {real_parent_path} is the same without filename.\\
{url} is the URL referencing the item.\\
\\
----
Custom variables (defined with the UserVariable task)\\
\\
Variables starts with "GLOBAL_" are stored in jvm system properties it lives till the current jvm running.\\
Variables starts with "PERSIST_" are stored in xml file at CrushFTP install folder it will be stored until the xml file is there.\\
\\
----
{thread_dump} - Create thread dump list to debug the server.\\
----
Misc
\\
{item_count} and {items_count} gives the size of the list in terms of number of items\\
----
Version Date Modified Size Author Changes ... Change note
14 18-Nov-2024 12:18 3.21 kB Ada Csaba to previous
13 05-Dec-2023 05:32 3.107 kB krivacsz to previous | to last
12 05-Dec-2023 05:32 3.095 kB krivacsz to previous | to last
11 05-Dec-2023 05:32 3.019 kB Ben Spink to previous | to last
10 05-Dec-2023 05:32 2.546 kB Ada Csaba to previous | to last
9 05-Dec-2023 05:32 2.237 kB Sandor to previous | to last
8 05-Dec-2023 05:32 2.131 kB Ben Spink to previous | to last
7 05-Dec-2023 05:32 2.031 kB Ben Spink to previous | to last
6 05-Dec-2023 05:32 1.788 kB Ben Spink to previous | to last
5 05-Dec-2023 05:32 1.521 kB Ben Spink to previous | to last
4 05-Dec-2023 05:32 1.564 kB Ben Spink to previous | to last
3 05-Dec-2023 05:32 1.441 kB Ada Csaba to previous | to last
2 05-Dec-2023 05:32 1.553 kB Ada Csaba to previous | to last
1 05-Dec-2023 05:32 1.348 kB Ben Spink to last
« This page (revision-14) was last changed on 18-Nov-2024 12:18 by Ada Csaba
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
LeftMenu

JSPWiki