Y
yawnmoth
I'm trying to use Windows Scheduler to make a backup of a database on
my computer every day at 6am and am having some difficulty.
If I run the backup script manually, it works. If I tell the scheduler
to run it a minute or two from now (eg. 11:30am, when it's 11:28am) it
works. However, at 6:00am (after I've been asleep for a few hours), it
doesn't.
As for how I know it isn't working... the script pretty much creates a
zip file of the database backup and copies it over the network to
another computer. When I do it by hand (or a minute or two from now,
as described above), the timestamp on the file on the other computer
reflects this. Further, every time the file is ran, a note to this
effect is appended to a file - log.txt - making note of this (this note
includes the time and date the script was ran).
So, like I said, Windows Scheduler doesn't seem to be working, save for
in situations where manual backups are just as effective. Any ideas as
to what I can do to fix this?
Also, any ideas as to how I can better test whether or not it is
working? Thus far, all the tests I've attempted to use give me
(apparently) false results. However, being able to only run one test a
day is going to make this take much more time than I'd like it to...
my computer every day at 6am and am having some difficulty.
If I run the backup script manually, it works. If I tell the scheduler
to run it a minute or two from now (eg. 11:30am, when it's 11:28am) it
works. However, at 6:00am (after I've been asleep for a few hours), it
doesn't.
As for how I know it isn't working... the script pretty much creates a
zip file of the database backup and copies it over the network to
another computer. When I do it by hand (or a minute or two from now,
as described above), the timestamp on the file on the other computer
reflects this. Further, every time the file is ran, a note to this
effect is appended to a file - log.txt - making note of this (this note
includes the time and date the script was ran).
So, like I said, Windows Scheduler doesn't seem to be working, save for
in situations where manual backups are just as effective. Any ideas as
to what I can do to fix this?
Also, any ideas as to how I can better test whether or not it is
working? Thus far, all the tests I've attempted to use give me
(apparently) false results. However, being able to only run one test a
day is going to make this take much more time than I'd like it to...