[CentOS] Run cornjobs only when a user is logged

Tue Jan 5 11:26:01 UTC 2016
C.L. Martinez <carlopmart at gmail.com>

Hi all,

  Is it possible to run cronjobs configured by a user to run only when 
he/she is logged (via GDM/KDM,etc.)?

Thanks.