CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • User only for CronJob
Pages: [1]

Author Topic: User only for CronJob  (Read 295 times)

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
User only for CronJob
March 17, 2014, 02:32:38 pm
Hello,

Is it possible to create a user for only cronjobs?
I use User Role Editor, and have all the options unchecked, except access_civicrm
but if i login with that account, i still can make activities and see some reports. Is there a way to do this simple?

Thanks!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: User only for CronJob
March 17, 2014, 11:22:21 pm
Depending on which cronjob, the user has to have quite a few permissions (eg. some jobs create activities or email reports, so that's "normal").

What you can do is to make a cron user with a super long password only that you only use in the cron config. It doesn't matter if it has "too many" permissions if no one uses it but the cronjobs.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

markjohan

  • I post occasionally
  • **
  • Posts: 102
  • Karma: 0
  • ..
  • CiviCRM version: 4.4.2
  • CMS version: Wordpress 3.6.1
  • MySQL version: 5.1.66-0+squeeze1
  • PHP version: 5.3.27
Re: User only for CronJob
March 18, 2014, 12:08:24 am
Hello Xavier,

Thanks for your reply!

M

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • User only for CronJob

This forum was archived on 2017-11-26.