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
as2_task.png 91.3 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
compress_task.png 54.6 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
copy_task.png 135.1 kB 5 09-Oct-2016 18:14 Halmágyi Árpád
png
decompress_task.png 53.4 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
delete_task.png 118.0 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
email_task.png 72.3 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
exclude_task.png 44.2 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
execute_task.png 96.6 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
fileparser_task.png 64.9 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
find_task.png 129.1 kB 5 09-Oct-2016 18:14 Halmágyi Árpád
png
findcache_task.png 51.0 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
http_task.png 89.5 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
java_task.png 51.2 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
jump_task.png 77.4 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
kill_task.png 44.5 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
link_task.png 49.4 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
makedirectory_task.png 109.9 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
move_task.png 129.3 kB 4 09-Oct-2016 18:14 Halmágyi Árpád
png
pgp_task.png 61.2 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
popimap_task.png 115.0 kB 2 09-Oct-2016 18:14 Halmágyi Árpád
png
preview_task.png 43.9 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
rename_task.png 59.7 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
sort_task.png 44.7 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
sql_task.png 85.3 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
tunnel_task.png 54.2 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
unzip_task.png 59.1 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
userlist_task.png 68.3 kB 1 09-Oct-2016 18:14 Halmágyi Árpád
png
userslist_task.png 31.9 kB 1 09-Oct-2016 18:14 Ben Spink
png
uservariable_task.png 68.3 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
wait_task.png 51.8 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
writefile_task.png 90.3 kB 3 09-Oct-2016 18:14 Halmágyi Árpád
png
zip_task.png 58.4 kB 4 09-Oct-2016 18:14 Halmágyi Árpád

This page (revision-53) was last changed on 05-Feb-2018 17:48 by Ada Csaba

This page was created on 09-Oct-2016 18:14 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 3 changed 10 lines
[Example Task Flow #1|CrushTaskExample]\\
[Example Task Flow #2|CrushTaskExample2]\\
[Example Task Flow #3|CrushTaskExample3]\\
[Example Task Flow #4|CrushTaskExample4]\\
[Example Task Flow #5|CrushTaskExample5]\\
[Example Task Flow #6|CrushTaskExample6]\\
[Example Task Flow #7|CrushTaskExample7]\\
[Example Task Flow #8|CrushTaskExample8]\\
[Example Task Flow #9|CrushTaskExample9]\\
[Example Task Flow -- Auto Update CrushFTP|CrushTaskExample10]\\
[CrushTask Functions] helps explain some of the advanced string manipulation functions you can do in CrushTask, typically in a UserVariable task.
At line 5 added 15 lines
[Example Task Flow -- Folder monitor triggered task.|CrushTaskExample]\\
[Example Task Flow -- Find local files and copy them to remote servers.|CrushTaskExample2]\\
[Example Task Flow -- Expire users password and email password reset link.|CrushTaskExample3]\\
[Example Task Flow -- Import users from *.csv file.|CrushTaskExample4]\\
[Example Task Flow -- Allow username lookup on internal share.|CrushTaskExample5]\\
[Example Task Flow -- Delete subfolders but keep root folders.|CrushTaskExample6]\\
[Example Task Flow -- Self register and enable accounts.|CrushTaskExample7]\\
[Example Task Flow -- Notify users of expired password.|CrushTaskExample8]\\
[Example Task Flow -- Auto register and set password on first logon.|CrushTaskExample9]\\
[Example Task Flow -- Auto Update CrushFTP.|CrushTaskExample10]\\
[Example Task Flow -- Upload with approval and move files.|CrushTaskExample11]\\
[Example Task Flow -- Looping though files and delete copied files.|CrushTaskExample12]\\
[Example Task Flow -- Find new files and send a notification or process them.|CrushTaskExample13]\\
At line 78 changed one line
This task allows for running an external process. This can allow outside integration processes to be performed. The output of these programs are fed into the log for this task to allow for monitoring of its results. keep in mind in windows, running a bat file requires running cme.exe, and passing in the arguments for cmd.exe to execute the batch file.
This task allows for running an external process. This can allow outside integration processes to be performed. The output of these programs are fed into the log for this task to allow for monitoring of its results.
At line 81 changed one line
---
!input:
*Command: the name of (or full path to) the external binary. In case running scripts, here comes the script interpreter binary name, cmd.exe for a Windows batch script\\
or sh , /bin/bash , etc. for a linux shell script, etc.\\
*Argument: the list of arguments passed to Command, the list items separated by Separator character ";" (semicolon) by default. In case running scripts, here comes\\
the script file name followed by any arguments to be passed to
*Working directory: the parent path of the binary or script file, we do a change directory into this folder before invoking Command. In case running scripts, here comes\\
the full parent path of the script file
*Environment variables: leave it empty, rarely needed
!output:
the task will feed it's output to the next task item, if any, can be referenced by the {execute_log} server variable
----
At line 178 added 58 lines
!Java
Here is a sample class that needs to be in the class path. You then reference it directly in the job. You need to include the library for CrushTask.jar for this. Then in your java class, reference "task.MyClass"
{{{
package tasks;
import java.util.Properties;
import java.util.Vector;
public class MyClass extends Task
{
public MyClass(Properties prefs, Vector items, Properties info, Vector threads)
{
super(prefs, items, info, threads);
}
public Task go()
{
run();
return null;
}
public void run()
{
try
{
newItems.addAll(items);//keep all the items for the next task.
for (int x = 0; x < items.size(); x++)
{
Properties p = (Properties) items.elementAt(x);
System.out.println(p.getProperty("url"));
}
Vector v = (Vector) prefs.get("prop_item");
Properties prop_item = new Properties();
for (int x = 0; x < v.size(); x++)
{
Properties p = (Properties) v.elementAt(x);
prop_item.put(p.getProperty("key"), p.getProperty("val", ""));
}
Enumeration keys = prop_item.keys();
while (keys.hasMoreElements())
{
String key = keys.nextElement().toString();
String val = prop_item.getProperty(key, "").trim();
}
msg("MyClass");
}
catch (Exception e)
{
e.printStackTrace();
msg(e);
error = e;
}
}
}
}}}
----
Version Date Modified Size Author Changes ... Change note
53 05-Feb-2018 17:48 13.67 kB Ada Csaba to previous
52 05-Feb-2018 17:47 13.628 kB Ada Csaba to previous | to last
51 05-Feb-2018 17:45 13.627 kB Ada Csaba to previous | to last
50 10-Mar-2017 06:36 12.881 kB Halmágyi Árpád to previous | to last
49 09-Oct-2016 18:14 12.78 kB Halmágyi Árpád to previous | to last
48 09-Oct-2016 18:14 12.78 kB Halmágyi Árpád to previous | to last
47 09-Oct-2016 18:14 12.687 kB Ben Spink to previous | to last
46 09-Oct-2016 18:14 12.538 kB Ben Spink to previous | to last
45 09-Oct-2016 18:14 11.165 kB Halmágyi Árpád to previous | to last
44 09-Oct-2016 18:14 11.083 kB Halmágyi Árpád to previous | to last
43 09-Oct-2016 18:14 10.919 kB Halmágyi Árpád to previous | to last
42 09-Oct-2016 18:14 10.72 kB Halmágyi Árpád to previous | to last
41 09-Oct-2016 18:14 10.699 kB Halmágyi Árpád to previous | to last
« This page (revision-53) was last changed on 05-Feb-2018 17:48 by Ada Csaba
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New
JSPWiki