summaryrefslogtreecommitdiff
path: root/BUILD/Help/html/Schedule a Batch Job.html
blob: 19b1eca2794acc74e49a7754095f133eb4969ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 3.2  (Win32)">
	<META NAME="CREATED" CONTENT="20091206;16574000">
	<META NAME="CHANGED" CONTENT="20120512;16135500">
	<STYLE TYPE="text/css">
	<!--
		@page { margin: 2cm }
		P { margin-bottom: 0.21cm }
		H2.cjk { font-family: "SimSun" }
		H2.ctl { font-family: "Mangal" }
		A:link { so-language: zxx }
	-->
	</STYLE>
</HEAD>
<BODY LANG="de-DE" DIR="LTR">
<H2 CLASS="western"><FONT FACE="Tahoma, sans-serif"><FONT SIZE=4 STYLE="font-size: 15pt">Schedule
a Batch Job</FONT></FONT></H2>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
<OL>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Create
	a new batch job via FreeFileSync's main
	dialog:<BR></FONT><FONT FACE="Tahoma, sans-serif"><I>Menu-&gt;Advanced-&gt;Create
	batch job</I></FONT><FONT FACE="Tahoma, sans-serif"><BR>&nbsp;</FONT></P>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">If
	the batch job shall run without user interaction or as part of an
	unattended batch script, make sure that no popup dialog stops the
	progress:<BR>Disable checkbox &quot;<I>Show progress dialog</I>&quot;
	to avoid blocking while showing the result after synchronization.
	Alternatively you can select the &quot;On completion&quot; action
	&quot;Close progress dialog&quot; located in synchronization
	settings. <B>Note:</B> Even if the progress dialog is not shown at
	the beginning, a user can make it visible <B>during</B>
	synchronization by double-clicking the FreeFileSync systray icon.<BR><IMG SRC="../img/SetupBatch.png" NAME="Grafik3" ALIGN=BOTTOM WIDTH=560 HEIGHT=342 BORDER=0></FONT></P>
	<P STYLE="margin-bottom: 0cm">&nbsp;</P>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">In
	order to prevent error or warning popup messages from stopping
	progress, set &quot;<I>Error handling</I>&quot; to either &quot;<I>Ignore
	errors</I>&quot; or &quot;<I>Exit instantly</I>&quot;.</FONT></P>
	<P STYLE="margin-bottom: 0cm">&nbsp;</P>
	<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Setup
	your operating system's scheduler</FONT></P>
</OL>
<OL>
	<OL TYPE=A>
		<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Windows
		7 Task Scheduler:</B></FONT></P>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><SPAN STYLE="font-weight: normal">Go
			to Start and e</SPAN></FONT><FONT FACE="Tahoma, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">nter
			</SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=3><SPAN STYLE="font-weight: normal">&quot;</SPAN></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=3><SPAN STYLE="font-weight: normal">taskschd.msc&quot;</SPAN></FONT></FONT></FONT></P>
			<LI><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Tahoma, sans-serif"><FONT SIZE=3>Create
			a new basic task and follow the wizard.</FONT></FONT></FONT></P>
			<LI><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Tahoma, sans-serif"><FONT SIZE=3>Make
			&quot;Program/script&quot; point to the location of
			FreeFileSync.exe and specify the ffs_batch file under &quot;Add
			arguments&quot;.</FONT></FONT></FONT></P>
		</UL>
	</OL>
</OL>
<OL>
	<OL TYPE=A>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT FACE="Tahoma, sans-serif"><FONT COLOR="#000000"><FONT SIZE=3>Use
			quotes if any paths contain spaces, e.g.: </FONT></FONT><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=3>&quot;C:\some
			folder\SyncJob.ffs_batch&quot;</FONT></FONT></FONT><FONT COLOR="#000000"><FONT SIZE=3><BR></FONT></FONT><IMG SRC="../img/win7scheduler.png" NAME="Grafik1" ALIGN=BOTTOM WIDTH=708 HEIGHT=321 BORDER=0></FONT></P>
		</UL>
	</OL>
	<P STYLE="margin-bottom: 0cm"><SPAN ID="Rahmen2" DIR="LTR" STYLE="float: left; width: 80%; height: 0.14cm; border: 1px solid #000080; padding: 0.05cm; background: #ccccff">
		<P ALIGN=LEFT STYLE="margin-left: 0.79cm; margin-right: 0.98cm; margin-bottom: 0cm">
		<FONT FACE="Tahoma, sans-serif"><B>Note</B></FONT><FONT FACE="Tahoma, sans-serif"><BR>Beginning
		with Windows Vista the &quot;Program/script&quot; always needs to
		be a path to &quot;FreeFileSync.exe&quot; even if ffs_batch file
		associations are set!</FONT> <FONT FACE="Tahoma, sans-serif">Else
		the task will return with error code 0xC1, &quot;%1 is not a valid
		Win32 application&quot; if a ffs_batch file is entered directly.</FONT></P>
	</SPAN><BR CLEAR=LEFT>&nbsp; 
	</P>
</OL>
<OL>
	<OL TYPE=A START=2>
		<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Windows
		XP Scheduled Tasks:</B></FONT></P>
		<UL>
			<LI VALUE=1><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Go
			to <I>Start &rarr; Control Panel &rarr; Scheduled Tasks</I> and
			select &quot;<I>Add Scheduled Task</I>&quot;.</FONT></P>
			<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif">Follow
			the wizard and select FreeFileSync.exe as program to run.</FONT></P>
			<LI><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT FACE="Tahoma, sans-serif">Enter
			&quot;Run:&quot; as: <FONT FACE="Courier New, monospace">&lt;FreeFileSync
			installation directory&gt;\FreeFileSync.exe &lt;job
			name&gt;.ffs_batch</FONT><BR><IMG SRC="../img/ScheduleBatch_html_m10bf0d36.gif" NAME="Grafik2" ALIGN=BOTTOM WIDTH=406 HEIGHT=455 BORDER=0><BR>&nbsp;</FONT></P>
		</UL>
		<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><B>Ubuntu
		Linux Gnome-schedule:</B></FONT></P>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT FACE="Tahoma, sans-serif">Install
			Gnome-schedule, if necessary: <FONT FACE="Courier New, monospace">sudo
			apt-get install gnome-schedule</FONT></FONT></P>
		</UL>
	</OL>
</OL>
<OL>
	<OL TYPE=A START=2>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><SPAN STYLE="font-weight: normal">Go
			to </SPAN></FONT><FONT FACE="Tahoma, sans-serif"><I>System -&gt;
			Preferences -&gt; Scheduled tasks</I></FONT></P>
		</UL>
	</OL>
</OL>
<OL>
	<OL TYPE=A START=2>
		<UL>
			<LI><P STYLE="margin-bottom: 0cm"><FONT FACE="Tahoma, sans-serif"><SPAN STYLE="font-style: normal"><SPAN STYLE="font-weight: normal">Specify
			the command as:</SPAN></SPAN></FONT> <FONT FACE="Courier New, monospace"><I><SPAN STYLE="font-weight: normal">&lt;FreeFileSync
			installation directory&gt;/FreeFileSync &lt;job name&gt;.ffs_batch<BR></SPAN></I></FONT><IMG SRC="../img/ubuntuScheduler.png" NAME="Grafik5" ALIGN=BOTTOM WIDTH=629 HEIGHT=560 BORDER=0></P>
		</UL>
	</OL>
</OL>
<P STYLE="margin-bottom: 0cm"><BR>
</P>
</BODY>
</HTML>
bgstack15