summaryrefslogtreecommitdiff
path: root/FreeFileSync/Build/Help/html/Run as Service.html
blob: 022e646301d41a34821d2f3d531ea91a01e8411f (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
<!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>
	<link rel="stylesheet" type="text/css" href="base.css" >
</HEAD>
<BODY LANG="en-US" DIR="LTR">

<H2>Run as Service <SPAN STYLE="font-weight: normal">(Windows)</SPAN></H2>

<P>
	RealtimeSync is designed to run as a background process which does not need further
	attention. Depending on your requirements there are a number of ways you can start it automatically.
	Generally the goal is to execute a command line of the form:
</P>

<div class="greybox">
	<div class="greybox_inner">
			<FONT FACE="Courier New, monospace">&lt;FreeFileSync installation folder&gt;\RealtimeSync.exe &lt;path to *.ffs_real or *.ffs_batch file&gt;</FONT>
	</div>
</div>
<BR CLEAR=LEFT>

<BR>
<BR>

<h3>Example:</h3>

<div class="greybox">
	<div class="greybox_inner">
			<FONT FACE="Courier New, monospace">&quot;C:\Program Files\FreeFileSync\RealtimeSync.exe&quot; &quot;D:\Backup Projects.ffs_real&quot;</FONT>		
	</div>
</div>
<BR CLEAR=LEFT>

<BR>

<OL>
	<LI><p>RealtimeSync should be monitoring only while a specific user is logged in: Create
	a new shortcut, enter the command line from above as target and place it into the user's autostart folder.
	</p>
	<IMG SRC="../img/create_shortcut.png"><br><br>
	<IMG SRC="../img/shortcut_properties.png">
	<br>&nbsp;
	
	<LI><p>RealtimeSync should be monitoring while Windows is running irrespective of
	currently logged in users: Create a new task in your operating systems's task scheduler and have it execute the command line above
	when the system starts. See <A HREF="Schedule%20a%20batch%20job.html">Schedule a Batch Job</A> for an example how to add a task. Then change
	the user which runs the task to <B>SYSTEM</B> - a special user account always running in the background.
	</p>
	<IMG SRC="../img/schedule_realtimesync.png">
</OL>

</BODY>
</HTML>
bgstack15