为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Background update task

  • 3 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 Mike Kaply

more options

Hello everyone,

being annoyed of a huge amount of Qualys tickets in my enterprise environment, i have decided to use the ability of firefox to update itself on its own instead of deploying a new version each time.

Requirement: Firefox has to stay up-to-date even on devices where it is not used. That´s what the scheduled background update task and Mozilla Maintenance Service are for, right?

Problem: The background update task will only be created if a logged on user will run firefox at least one time. Since Firefox is used as the secondary browser here, it is installed on all clients, but not even half of the clients/users are running it.

I didn´t find any option to create that task manually. So - at least in my environment - the autoupdate mechanism is useless.

Is there any hope for an autoupdate mechanism which can be run independent of logged on users? Or does anyone have an idea how i could achieve my goal?

Thank you in advance!

Hello everyone, being annoyed of a huge amount of Qualys tickets in my enterprise environment, i have decided to use the ability of firefox to update itself on its own instead of deploying a new version each time. Requirement: Firefox has to stay up-to-date even on devices where it is not used. That´s what the scheduled background update task and Mozilla Maintenance Service are for, right? Problem: The background update task will only be created if a logged on user will run firefox at least one time. Since Firefox is used as the secondary browser here, it is installed on all clients, but not even half of the clients/users are running it. I didn´t find any option to create that task manually. So - at least in my environment - the autoupdate mechanism is useless. Is there any hope for an autoupdate mechanism which can be run independent of logged on users? Or does anyone have an idea how i could achieve my goal? Thank you in advance!

所有回复 (3)

more options

It's possible for you to schedule the background task on your own. There's some documentation here:

https://firefox-source-docs.mozilla.org/toolkit/mozapps/update/docs/BackgroundUpdates.html#scheduling-background-tasks

We only schedule it in Firefox out of convenience.

It's something I've been meaning to document better (but not something I have a lot of expertise in)

more options

Hello Mike,

thanks for your reply!

I have already read that documentation. I think it´s documented well. But unfortunately it does not solve my (only my?) problem. If the scheduled task "Firefox Background Update ..." does not exist already on the system, nothing happens if I run the command "firefox --backgroundtask backgroundupdate". I just can see that a file named "UpdateLock" at the ProgramData-Folder is created.

So if I have a computer where firefox is installed but never is run, firefox will never be updated. That´s a problem for an enterprise environment in my opinion. Not exactly what i expect of an automatical update.

For now, I will have to further deploy a new application by MECM each time a new version of firefox is available.

But maybe the mozilla developers might think about redesigning the AutoUpdate-feature. For me the goal would be, that Firefox will be updated via MozillaMaintenanceService as soon as a new version is available, regardless of user settings or logged on users (update as SYSTEM-Account). By the way, I´m talking about Microsoft Windows as operating system. :-)

more options

So we've landed a patch that will update Firefox even if the windows user isn't logged in.

https://bugzilla.mozilla.org/show_bug.cgi?id=1830071

does this help?