1. Christian Specht
  2. Bitbucket Backup
  3. Issues
Issue #20 new

Not running when scheduled

created an issue

I'm trying to run the backup scheduled by the task scheduler. Unfortunatly nothing happens when Bitbucket Backup is started from the scheduler.

I have written a short batch file which the scheduler starts: echo Started %DATE% %TIME:~0,8% >> "E:\BBB\log.txt" BitbucketBackup.exe >> "E:\BBB\log.txt"

If I start this batch by double klicking it workes fine: ** Started 24.10.2013 13:37:52 Bitbucket Backup 1.3

Drücken Sie <LEERTASTE> in den nächsten 10 Sekunden, um Ihre Einstellungen zu ändern!

Bitbucket-Benutzer: juergen_stephan Lokaler Backup-Ordner: e:\bbb

git pull: https://bitbucket.org/juergen_stephan/something

Backup wurde abgeschlossen! **

When I start the Task by klicking "Run" in the scheduler, only the "Started" entry is written to the Log: Started 24.10.2013 12:09:39 Started 24.10.2013 13:27:06

I have configured the task to start whether the user is logged on or not. I'm using Windows 8.1 but on Windows Server 2012 I have the same problem.

Comments (4)

  1. dbakalov

    To use it with windows task scheduler, in task settings use: Action: Program/script: %systemroot%\Syswow64\cmd.exe Add arguments: /C "C:\Program Files (x86)\Bitbucket Backup\BitbucketBackup.exe"

  2. Phil Atkin

    I cannot get BB to work as a scheduled task under Windows 10 (64 bit). That's really frustrating, because of course a regular run is precisely what I need.

    It seems that the task is not executed with the normal interactive path. So I created a batch file that will add the Git path to the environment variable. I've tried using dbakalov's procedure to run the batch file, as well as running it directly - no luck. BB seems to run for about 10 seconds, then launch a second instance, then both disappear. For me, BB would be so much easier to use, and so much more useful, if both the git path and the configuration options could be supplied through command line options. And MS's documentation of how to set up the Email option makes no sense to me, so I can't use that either.

  3. Log in to comment