Scheduling not running as expected

Questions about Cobian Reflector
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Scheduling not running as expected

Post by cobian »

I have now 2 tasks started at the same time. No problems at all. Could you please check if the same problem is found tomorrow?
--
Luis Cobian
Cobian Backup's creator
gvd
Posts: 127
Joined: 05 Oct 2021, 16:05
Location: Belgium

Re: Scheduling not running as expected

Post by gvd »

Hello Luis,

No problem at all this time.
Let's wait one more week before telling the problem is solved :-).
Gabriel
gvd
Posts: 127
Joined: 05 Oct 2021, 16:05
Location: Belgium

Re: Scheduling not running as expected

Post by gvd »

Luis,

My little problem still does not seem to be solved.

Reminder - Original situation :
  • On my little server, I have two tasks running on my (currently) 0.9.56 Cobian Reflector.
  • Those tasks were imported from Cobian Backup.
  • The first one is started at 01:00 on wednesdays and sundays while the second one is run daily at the same time.
  • On sundays (and only on sundays), the first task restarts "unwillingly" after the end of the second one.
I am currently running 0.9.90 RC1.

As the problem did not vanish after you solved the infinite loop problem, I tested various things :
  • Maybe the problem was the import from CB. I recreated the new tasks with the same settings and disabled the two original ones. It did not change anything.
  • Maybe the problem was the fact the two tasks were running at the same time. I moved the task that ran twice slightly (one minute later). It did not change anything
. However strange things occur. Here are some parts of the logs.

first mail - task "Documents Françoise" (comments in the code) - CR 0.9.75 :

Code: Select all

    2022-01-15 01:02:26 The log files have been successfully deleted.
    
    2022-01-16 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name
    2022-01-16 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name
     
    2022-01-16 00:59:12 A backup has started...
    2022-01-16 00:59:12 Calculating the number of files. This could take a while...
    2022-01-16 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name
    2022-01-16 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name
    [b]2022-01-16 01:00:00 The task Documents Académie (ae55e8ac-7179-4dd2-817e-22b97cd640ae) is already in queue. The new instance was not added.[/b] ← ********** how does it come it is already in the queue ?
     
    2022-01-16 01:01:37 Backing up the task "Documents Françoise" ← ********** one minute later, second task
    2022-01-16 01:01:37 Requesting the creation of a Volume Shadow Copy image for the source...
    2022-01-16 01:02:06 The Volume Shadow Copy image has been successfully created.
    ... backing up ...
    2022-01-16 01:06:56 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 5 minutes, 18 seconds. ***
     
    2022-01-16 01:06:56 Deleting the Volume Shadow Copy image...
second mail - task "Documents Académie" :

Code: Select all

    2022-01-16 01:07:02 The log files have been successfully deleted.
    
    2022-01-16 01:07:29 The Volume Shadow Copy image has been successfully created. ← ********** log is missing "A backup has started", "Calculating", "Backing up the task" and "Requesting the creation of a VSC" !
    ... backing up ...
    2022-01-16 01:08:48 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 47 seconds. ***
     
    2022-01-16 01:08:48 Deleting the Volume Shadow Copy image...
third mail - task "Documents Françoise" again, backup is empty :

Code: Select all

    2022-01-16 01:08:54 The log files have been successfully deleted.
     
    2022-01-16 01:09:21 The Volume Shadow Copy image has been successfully created. ← ********** still some lines missing before this one
    ... backing up, no files !!!  ...
    2022-01-16 01:13:43 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 4 minutes, 50 seconds. ***
     
    2022-01-16 01:13:43 Deleting the Volume Shadow Copy image...
  • Maybe the two tasks where too close. I changed the start of the task the ran twice and made it start 15 minutes later. Surprise ! Now, it is the other task that runs twice and the task scheduled to run at 01:15 starts immediately after the end of the second run of the first task, several minutes too early.
first mail - task "Documents Académie" - CR 0.9.77 :

Code: Select all

    2022-01-22 01:02:07 The log files have been successfully deleted.
    
    2022-01-23 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name
    2022-01-23 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name
     
    2022-01-23 01:00:01 A backup has started...
    2022-01-23 01:00:01 Calculating the number of files. This could take a while...
     
    2022-01-23 01:00:08 Backing up the task "Documents Académie"
    2022-01-23 01:00:08 Requesting the creation of a Volume Shadow Copy image for the source...
    2022-01-23 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name
    2022-01-23 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name
    ... backing up ...
    2022-01-23 01:01:52 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 43 seconds. ***
     
    2022-01-23 01:01:52 Deleting the Volume Shadow Copy image...
second mail - task "Documents Académie" :

Code: Select all

    2022-01-23 01:02:00 The log files have been successfully deleted.
     
    2022-01-23 01:02:29 The Volume Shadow Copy image has been successfully created. ← ********** still some lines missing before this one
    ... backing up; no files !!! ...
    2022-01-23 01:03:48 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 51 seconds. ***
     
    2022-01-23 01:03:48 Deleting the Volume Shadow Copy image...
third mail - task "Documents Françoise" :

Code: Select all

    2022-01-23 01:03:55 The log files have been successfully deleted.
     
    2022-01-23 01:04:28 The Volume Shadow Copy image has been successfully created. ← ********** scheduled to run at 01:15 !!!
    ... backing up ...
    2022-01-23 01:09:06 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 5 minutes, 11 seconds. ***
     
    2022-01-23 01:09:06 Deleting the Volume Shadow Copy image...
This was all before RC1.
Tonight, the same thing occurred with RC1 : two backups in a row for "Documents Académie" followed by one for "Documents Françoise".
Good thing : the backup for "Documents Françoise" seems now to start at the scheduled time.

Stranger still :
  • Scheduling for "Documents Académie" is "Daily" at "01:15"
  • Scheduling for "Documents Françoise" is "Weekly" on "Wednesday, Sunday" at "01:00".
  • "Two in a row" only occurs on Sundays at 01:00.
    • Previously on "Documents Françoise" (scheduled twice a week) when it was the first task scheduled at 01:00.
    • Nowadays on "Documents Académie" (daily) and it is the only task running at 01:00.
Could there be a problem at 01:00 on Sundays ?

Here are the config and history files :
CR Settings and History.zip
(57.13 KiB) Downloaded 94 times
Gabriel
nuflin
Posts: 10
Joined: 07 Feb 2022, 09:11

Re: Scheduling not running as expected

Post by nuflin »

Good afternoon.
Cobian Reflector 0.9.90 RC1.

The task is scheduled as "on startup", but it is not running ...
Manual launching of this task is working OK.

Could you please advise how to set up "on startup" correctly?
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Scheduling not running as expected

Post by cobian »

Perhaps your computer was not off, but sleeping?
--
Luis Cobian
Cobian Backup's creator
nuflin
Posts: 10
Joined: 07 Feb 2022, 09:11

Re: Scheduling not running as expected

Post by nuflin »

I think no, I turned off sleeping mode in windows power settings. PC was turned off and than started.
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Scheduling not running as expected

Post by cobian »

Tested here. Startup working OK. :|
--
Luis Cobian
Cobian Backup's creator
gvd
Posts: 127
Joined: 05 Oct 2021, 16:05
Location: Belgium

Re: Scheduling not running as expected

Post by gvd »

Hello Nuflin,

Can you open a new thread to expose your problems?

You are interfering with my problem so I am not getting any answer to my question.

Thank you.
Gabriel
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Scheduling not running as expected

Post by cobian »

So it seems like you have 2 more tasks that are disabled? Could you check if those tasks have the same id for some strange reason?
--
Luis Cobian
Cobian Backup's creator
User avatar
cobian
Site Admin
Posts: 4608
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Scheduling not running as expected

Post by cobian »

It seems like your list has been modified since the last time you attached it. Could you attach the new one please?
--
Luis Cobian
Cobian Backup's creator
Post Reply