Scheduled tasks stopped working
-
simply selecting an pbs file will work, without any refference to pabackup - thats the same way it works when you click on pbs in explorer.
What backup does is calls pabackup.exe with /silent switch (if so set).
However thing to note there is that you have to put “” around any long paths or else you will be getting that error (cant find script) that you are getting… so it should be:
“C:\Program Files\PowerArchiver\PABACKUP.EXE” /silent “C:\Users\user\Documents\Backups\Scripts\test.pbs”
-
thats what you can run from cmd line…
-
ok… I guess we are coming more near.
When I doubleclick a pbs a window flashes up, closes immediately and the pbs file looks like this…
[General]
Archive=.zipx
TimeStamp=0
TimeStampText=
TimeStampMode=0
ScanArchive=0
Overwritef=0
AddQueue=0
AddLocal=0
AddLocal2=0
AddLocal3=0
LocalDir2=
LocalDir3=
IncludeSubFolders=0
IncHidden=0
Compression=0
CompressionM=0
Action=0
RelativeFolderInfo=0
ShowDone=0
RunSilent=0
RunSilentMode=0
GrowZip=0
UseOptimized=0
AddArchiveBit=0
AddSolid=0
WriteD=0
ResetArchive=0
UseSpanning=0
CSpanSize=
TestArchive=0
LogToFile=0
LogFile=
EmailLog=0
Encmode=0
Hidepassword=0[FileTime]
FTMode=0
FTDays=0
FTHours=0
FTMinutes=0
FTDate=0
[FileSize]
FSMode=0
FSSize=0
FSSizeMode=0
[Schedule]
Mode=0
Time=0
Days=[CD]
BurnArchive=0FtpArchive=0
FtpLimit=
Directory=eMailArchive=0
Smtp=
Port=
To=
From=
Text=Subject=
–--------------------
ALL settings are deleted…!!
-
so now doubleclicking on pbs does not work either? :-).
Maybe we should try everything from the start, to see what actually works or not, because it has been rollercoaster ride ;-)
-
Doubleclicking did never work.
Only thing worked is starting the pbs file from within the PA app. Doing my backups now like this.
Open PA, klick on pbs and then click on run. Works perfectly…!! -
Doubleclicking did never work.
Only thing worked is starting the pbs file from within the PA app. Doing my backups now like this.
Open PA, klick on pbs and then click on run. Works perfectly…!!thats very different ;-).
do you have different versions of PA installed?
-
its getting clearer now - when you say it works from inside PA, you mean via backup list, right?
-
As I said some posts above I did a complete uninstall and reinstall. So only one version installed.
Yes via backup list…
-
well PBS files dont seem to be properly registered with windows explorer. There are several possible reasons for this.
Did you try cmd line i suggested before? Did that work?
“C:\Program Files\PowerArchiver\PABACKUP.EXE” /silent “C:\Users\user\Documents\Backups\Scripts\test. pbs”
just replace it to proper path to your files.
-
(when you click on run on backup script in backup window, that is what PA does, it runs shell execute command, which is basically same thing as command line prompt).
-
Using in cmd seems to work now…
-
Using in cmd seems to work now…
it has to work, reason it didnt work was because of long paths and you probably did not use “”… but i figured that out before, problem was that I thought that you wrote how you tried it from explorer and it works :-)
anyway, now schedule an task using the same thing… it HAS to work… I will not accept no for an answer ;-)
-
Ok… This is going to be hard for you…
I swear when I use exactly the same string as working on my cmd it does not work in scheduler…!!
-
Another strange thing…
When is go to browse for PA in the scheduler it says that the path to the pbs file is not valid… But I changed the pbs files already to c:\PAscripts… How short can that be…
-
Another strange thing…
When is go to browse for PA in the scheduler it says that the path to the pbs file is not valid… But I changed the pbs files already to c:\PAscripts… How short can that be…
can you browse to it? not write it in but browse to it…
-
ok… Back after one week of illness…
Still doesn’t work. Sure I can browse to it…
Any new idea?
-
A small step further…
I made the file association between pbs files and PA again and now at least a double click on pbs file starts PA correctly and files are backuped.But start from scheduler still doesn’t work. PA gets started and does nothing.
-
A small step further…
I made the file association between pbs files and PA again and now at least a double click on pbs file starts PA correctly and files are backuped.But start from scheduler still doesn’t work. PA gets started and does nothing.
check your task, make sure that backup it is starting is the right backup (that it points to proper file).
-
it should be something like this:
“C:\Program Files\PowerArchiver\PABACKUP.EXE” /silent “C:\Users\user\Documents\Backups\Scripts\test. pbs”
-
It does… :-(
-
try manually that in command prompt now
-
That worked as we checked already…
-
can we do this by chat or something? Would be faster. R U in skype or something?
-
OK next step I tried.
Wrote a batch. Thought if I can’t schedule the pbs maybe I can schedule a batch that starts the pbs.
–-------
@echo off
start “Sedi Backup” /MIN “C:\Program Files\PowerArchiver\PABackup.exe” “/silent C:\PAscripts\sedi.pbs”
:endEnds up in an oleaut32.dll access violation. Does that help?
-
I did not catch those newer responses to the thread, this is what the command line is:
“C:\Program Files\PowerArchiver\PABACKUP.EXE” /silent “C:\Users\user\Documents\Backups\Scripts\test. pbs”If that works, then it works in batch file if you properly enter it.
-
Hey there… Can we get this thing working again please? I do backups manually every day now.
DoubleClick on pbs file starts backup properly. Still no chance at all to get it run in scheduler. Can we do this b telephone or remote whatsoever.
I want my scheduled backup to work again please…!!
-
I did not catch those newer responses to the thread, this is what the command line is:
“C:\Program Files\PowerArchiver\PABACKUP.EXE” /silent “C:\Users\user\Documents\Backups\Scripts\test. pbs”If that works, then it works in batch file if you properly enter it.
did you try above?
-
I did… This does work. Starts PAbackup and starts to backup…
When I use the exact same in Scheduler pa starts but doesn’t backup… :-(
-
I did… This does work. Starts PAbackup and starts to backup…
When I use the exact same in Scheduler pa starts but doesn’t backup… :-(
well what happens when PA starts but does not backup?
did you try scheduling .bat file which works? Maybe that could be workaround… It still seems like something with permissions, because only difference between your running it like that and scheduler running it with same command, is the user that starts the process.
-
I use it with the same useraccout, domain administrator. I am telling in scheduler to run even if not logged on. Givin my user and pw of the domain admin.
Batch file doesn’t work either. Quits with an dll error.
-
P.S. It starts the task doing nothing just using 4.4 mb ram.
-
I use it with the same useraccout, domain administrator. I am telling in scheduler to run even if not logged on. Givin my user and pw of the domain admin.
Batch file doesn’t work either. Quits with an dll error.
what dll error do you get? I need to check if tasks could be exported so you can send us task and we can see how it is scheduled.
-
Dll error see post 59…
Tell me what I can do and I will do…
-
Seems that it can be exportet… :)
Is an xml file which i gave the txt ending…
attachment_p_21476_0_nowijan-backup.txt -
any news?? :)
-
any news?? :)
i will be testing today and let you know what happens @ our computers with that script…
-
Great!! Thank you very much…!!
-
Can you check option “Run only when user is logged on” and let me know what happens then?
-
Ok we are getting close to it…
When I run it with user logged on option it fails with the following error: Task Scheduler failed to start “\nowijan.pbs” task for user “ritfs\Administrator”. Additional Data: Error Value: 2147943645.
Somehow the local admin machine account does not work.
But when I change the account info to domain admin account and the option user logged on the backup starts as normally.
Option run logged on or not with domain account does start the pabackup but the does nothing further. Behaves like dead. -
But when I change the account info to domain admin account and the option user logged on the backup starts as normally.
Option run logged on or not with domain account does start the pabackup but the does nothing further. Behaves like dead.what account do you use to work on that computer?
-
Domain admin
-
Domain admin
and what about other software that runs there - they use same domain admin account or local account?
-
Yes they do… I do everthing on this machine in domain admin account.
-
ok, lets try this - schedule new task manually through task scheduler and just pick pbs file that you want to schedule (so not pabackup.exe but .pbs). What happens then?
-
Tried already… but tried it again…
EXACTLY the same behavior. User logged on runs great.
User not logged on dead task… -
Tried already… but tried it again…
EXACTLY the same behavior. User logged on runs great.
User not logged on dead task…wait - so it runs completly fine with option user logged in?
-
Yes. Like it did before.
Option: Run only when user logged on - runs
Option: Run whether user is logged on or not - doesn’t run -
Yes. Like it did before.
Option: Run only when user logged on - runs
Option: Run whether user is logged on or not - doesn’t runso task scheduler cant schedule task unless user is logged on, that means something is wrong with task schedulers starting tasks as another user. I guess we need to google for solutions. I wonder if it might be some service that is disabled.
-
I will try something different. I hope I know where the problem is. I had a change in die admin password. I think the tasks stores the passwords locally. I guess task scheduler has a bug when passwords are changing.
So I will create a new backup user and create the jobs again. Hopefully that works…
-
Ok. Here we go again.
New User, completely new jobs, PAB starts… Does nothing…Going mad…!!
-
Ok… things are getting worse and worse.
Now the pbs files will be emptied when they don’t run correctly.
So for every test I have to create new pbs files.Any further help?
-
Ok… things are getting worse and worse.
Now the pbs files will be emptied when they don’t run correctly.
So for every test I have to create new pbs files.Any further help?
dont know what else… we could try having an special debug version of PowerArchiver Backup so we can go step by step and determine what could be the issue?
-
ok… so lets try this… if its helps you…
I thought I’d be clever and leave the user logged on.
PA Backup error message…
Access violation at address 77A58F1A in module oleaut32.dll. Read of address 0000047C -
OK… Tried on another server. Same issue. Seems to me that the scheduler functionality is broken. PAB starts does nothing…
Please send me asap the debug version. -
OK… Tried on another server. Same issue. Seems to me that the scheduler functionality is broken. PAB starts does nothing…
Please send me asap the debug version.i have spent an hour on Win2k3 Server trying to reproduce this…
How was PowerArchiver installed on the server? There has to be something specific in the way you are using something, as on whatever computer we try, it works fine. There has to be an reason.
Debug version can be ready within 10-15 days and it is quite pain to setup, there is no easy solution for that.
-
We had one german customer with similar complaint - it turned out permissions issue - it could not access remote drive when run from isolated account, but local folders worked fine… I am sure you tried compressing to local drives as we said before?