WebSphere Commerce インスタンスの作成時には、サイト管理者はすべてのコマンドを使用できますが、 ストア管理者がストア・レベル・ジョブとして使用できるコマンドはほとんどありません。 ストア管理者がさらにジョブをスケジュールできるように許可するには、以下のようにします。
insert into CHKCMD (chkcmd_id, storeent_id, displayname, interfacename) values (100, 0, 'ReturnTrue', 'com.mystore.scheduler.checkcommands.CommandName')
insert into CHKCMD (chkcmd_id, storeent_id, displayname, interfacename) values (101, 0, 'ReturnFalse', 'com.mystore.scheduler.checkcommands.CommandName2')
ここで、'CommandName' はジョブのコマンドとして使用しているコマンドであり、 'storeent_id' は 0 に設定されます。
![]() |